Pregunta de entrevista de Docnet

How would you optimise a poorly performing query (in MySQL)?