Massive mysql querry speed up.