Deadlock found when trying to get lock; try restarting transaction [ UPDATE `banners_views` SET `views` = `views` + 1 WHERE `date` = '2018-09-19' AND `time_from` = '21' AND `banner_id` = '229' ]