MySQL provides optimizer control through system variables that affect how query plans are evaluated and which switchable optimizations are enabled.