SELECT blogs_stats_id FROM blogs_stats WHERE blogs_stats_ip='54.166.130.157' AND blogs_stats_date='2018-10-22' AND blogs_stats_id_blog='3416' : Lost connection to MySQL server during query