Problem selecting 300,000 rows from MySQL database

Glad you figured it out. How often it is a problem is hiding in plain sight!

[LIMIT {[offset,] row_count | row_count OFFSET offset}]