2013 - Lost connection to MySQL server during query

SELECT * FROM `tbl_add_product` WHERE (status=1 or status=0) and admin_status=1 and pay_status=1 and user_status=1 and datediff(now(),DATE( FROM_UNIXTIME( time_now )))=57