Optimal queries 1-5 done completely. MySQL only.