Can't execute query

select * from cto_login_history where last_respond_time >0 and add_date = '2024-11-04' and log_status='Login'

MySQL Error: MySQL server has gone away

This script cannot continue, terminating.