I have a MySQL query (running MySQL 5.0.88), which I\'m trying to speed up. The underlying table has multiple indices and for the query in question, the wrong index is used
You missed the
FROM table
Correct SQL should be:
SELECT art.firma FROM your_table USE INDEX (i_iln) WHERE ....