This is gonna lack some formality (and to be honest I'm not entirely sure it is correct), but the idea is the following:
set $m_2 = m_3 = 0$, and write $$m_1(a_1^2 + a_2^2) = m_4(b_3^2 + b_4^2) \implies \frac pq = \frac{b_3^2 + b_4^2}{a_1^2 + a_2^2} \tag{$\star$}$$ where $\displaystyle \frac pq = \frac{m_1}{m_4}$
The idea is to choose primes that cannot be expressed as sum of squares; for example, let's take $p=3$, $q=7$.
Now the only possibility for $(\star)$ to hold is $\begin{cases} b_3^2 + b_4^2 = 3k, \\ a_1^2 + a_2^2 = 7k \end{cases}$
It is easy to see that if $3 \mid b_3^2 + b_4^2$, then $3 \mid b_3$, $3 \mid b_4$. Same thing for $a_i$. This yields
$$\begin{cases} 3\beta_3^2 + 3\beta_4^2 = k \\ 7 \alpha_1^2 + 7\alpha_2^2 = k\end{cases}$$ ($b_i = 3\beta_i$, $a_i = 7\alpha_i$)
This can be simplified if we set in the first equation $k = 3k_1$, $k = 7k_2$ in the second to yield
$$\begin{cases} \beta_3'^2 + \beta_4'^2 = k_1 \\ \alpha_1'^2 + \alpha_2'^2 = k_2\end{cases}$$
with the condition $3k_1 = 7k_2$. This again implies $k_1 = 7k_3$, $k_2 = 3k_4$ and subsituting
$$\begin{cases} \beta_3'^2 + \beta_4'^2 = 7k_3 \\ \alpha_1'^2 + \alpha_2'^2 = 3k_4\end{cases}$$
with the condition $21k_3 = 21k_4 \implies k_3 = k_4$
But then this is equivalent to the first system we tried to solve!
This is basically a proof by infinite descent (http://en.wikipedia.org/wiki/Proof_by_infinite_descent), though I admit I'm not particularly familiar with it, so I may be wrong.
Let me know what you think :)