Pepper interview question

How MySQL use an index?