I want to find a small prime $p$ satisfying
- $p\equiv 1 \pmod{8}$
- $\left(\frac{p}{q} \right) = 1$ for all primes $3 \leq q \leq N$
where $N$ is a moderately large number (say, around $15,000$). I want $p$ to be small, say at most the cube root of the modulus.
Is this computationally feasible? I am not too familiar with what is and isn't reasonable to do with modern computing, so this might be a very naive question.