Using "PAGER" or \P you can control output handling. Instead of having 10k lines scrolling by you can write everything to a file or use "less" to scroll through it for example. To use less issue
Page output into a script
Or if you have Percona installed get a tree-like "EXPLAIN" output with
and then run the "EXPLAIN" query.