Genpact interview question

How would you optimize a slow-running SQL query in MySQL?