Deadlock found when trying to get lock; try restarting transaction delete from ptlog_001 where id=1000 and ptlog_type="pt" and ptlog_part=247540 and ptlog_lang="en" and ptlog_cycle=0 and ptlog_date<'2023-05-07'