For given positive integers $a,b,q$ we investigate the density of solutions $(x,y)\in \mathbb{Z}^2$ to congruences $ax+by^2\equiv 0 \bmod{q}$.