UPDATE ordersalon o LEFT JOIN ordersalon x ON x.`sess_data` = '3848530,,,,,,' SET o.`sess_data` = '3848530,,,,,,' WHERE o.`id` = 'scuc1m1pda0uslg77moduuiudb' AND o.`id` <> '' AND x.`sess_data` IS NULL [nativecode=1213 ** Deadlock found when trying to get lock; try restarting transaction]