MySQL sorted WHERE IN query still uses filesort instead of index
I am using using MySQL (InnoDB engine). I am running SQL query with WHERE IN statement which is also ordered. I decided to create the perfect index, so my query will not run slow. Surprisingly, after creating the perfect index…