timestampdiff(*时间单位*,*起始时间*,*结束时间*)  计算时间差
delete
from exam_record
where score < 60 and timestampdiff(minute, start_time, submit_time) < 5