You also should analyze the table structure, creating indexes on the required fields will help.