Combis interview question

How to speed up query in SQL database (index)