Docnet Interview Question

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