Table './epagedb/ptlog_001' is marked as crashed and should be repaired select ptlog_seq as col from ptlog_001 where id=1011 and ptlog_type="pt" and ptlog_part=6696 and ptlog_lang="en" and ptlog_cycle=0 and ptlog_date="2020-09-28" limit 0,1