For example:
SELECT * FROM table_1 LIMIT 5 LEFT JOIN table_2 AS table_1.id = table_2.id WHERE 1
Otherwise, the engine takes the entire table_1 before applying the join, and then limits it, which can slow down the query massively (with massive tables).
mysql mysql-management
jdborg
source share