Let's talk directly to mysql. Runs more than 2 orders of magnatude faster.