Given a quadratic Diophantine equation over the integers in two variables, can we say much about when it has only finitely many solutions with the additional assumption that both variables are prime? That is, given integers $a$, $b$, $c$, $d$, and $e$, $a$ and $c$ both non-zero. Then it seems reasonable to conjecture that there are only finitely many primes $x$ and $y$ with $$ax^2 +bxy +cy^2 + dx +ey=0,$$ barring the exceptional case where the left-hand side itself factors. The obvious heuristic here is that solutions to the equation (whether or not they are prime) should grow roughly exponentially based on standard methods to solve quadratic Diophantine equation. Thus, if we call the $n$th solution, $(x_n,y_n)$ then the chance they are both prime should be $O(\frac{1}{\log k^n})=O(\frac{1}{n})$ (where $k$ is some constant). So the chance they are both prime is about $O(\frac{1}{n^2})$, and so the relevant series converges, since $\sum_{n \geq 1} \frac{1}{n^2}$ converges. There are some cases where it is not hard to prove this sort of conjecture, using completely elementary methods. For example, it is not hard to show the following: Proposition: Suppose that $p$ is prime primes, $b \geq 1$, $m \geq 2$, $a \geq 1$, and $$p^2 + bp + ma^2 = mq^2.$$ Then $p \leq b + 4am$. Proof sketch: The equation can be written as $$p(p+b)=m(q-a)(q+a)$$ and so $p$ needs to divide one of the terms on the right-hand side. One interesting thing here is that in this case, we only need that $p$ is prime, which is stronger than what the above heuristic would suggest, since that heuristic uses both variables being prime, whereas here no assumption about the primality of $q$. My guess is that answering this question in complete generality is going to be tough. So my question then is what broad sets of cases can we prove this for?