refine query to save 25% time to page rendering