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