When a database receives a query, it first checks if there is an index on the column used in the search condition. If an index exists, the database uses it to jump directly to the matching rows, checking very few rows. This is much faster than scanning the entire table row by row. If no index exists, the database must perform a full table scan, checking every row until it finds matches. This difference explains why indexing speeds up data retrieval significantly. The execution table shows the steps where the index is found and used, reducing rows checked to just one. The variable tracker confirms the index usage and the low number of rows checked. Understanding this flow helps beginners see why indexes are important for fast queries.