Introduction
EXPLAIN helps you understand how MySQL runs your query. It shows the steps MySQL takes to get your data.
You want to see if your query is fast or slow.
You want to find out which part of your query uses a lot of resources.
You want to check if your database uses indexes to speed up the search.
You want to improve your query to make your app faster.
You want to learn how MySQL processes your SQL commands.