Deadlock found when trying to get lock; try restarting transaction [ UPDATE `banners_views` SET `views` = `views` + 1 WHERE `date` = '2019-06-25' AND `time_from` = '19' AND `banner_id` = '251' ]