I just spent a full day on the brutish and thankless task of proving that the Brun-Titchmarsh bound holds for prime powers (including primes), and not just for primes, in the following senses:
(a) the number of prime powers $p^k$, $k\geq 1$, in an interval $(x,y]$ of length $y-x>1$ is at most $$\frac{2 (y-x)}{\log(y-x)},$$ with one exception: $1<x<2$, $32\leq y<33$;
(b) let $\Pi(x)$ be Riemann's prime-counting function: $\sum_{\substack{p^k\leq x\\ k\geq 1}} \frac{1}{k}$. Then, for any $x$, $y$ with $y-x>1$, $$\Pi(y)-\Pi(x) < \frac{2 (y-x)}{\log(y-x)},$$ with no exceptions.
(Obviously (b) follows from (a).)
What it takes to prove this is nothing special: the proof of Brun-Titchmarsh in Montgomery-Vaughan (1973) has some room beneath the hood, and several of its lemmas can be improved. So that's what you do. A small computational check takes care of what remains.
Now, I cannot be the first person to need this or prove this. Reference?
(Related question, with no answers: Upper bound on sum of Lambda(n) over short interval . Statement (b) here is stronger than what was asked for in the previous question.)