http://thomasgriffinmedia.com/blog/2012/10/optimize-wordpress-queries/