Error Code: 2013. Lost connection to MySQL worker during inquiry
In the new form of MySQL WorkBench, you can change the particular breaks.
For you, if it is under Edit → Preferences → SQL Editor → DBMS connection read time out (in seconds): 600
Then the value will be changed to 6000.
Also, uncheck the limit rows. If you are putting the limit every time then it will be difficult for you to search the whole data set.