2013 Lost connection to MySQL server during query
in:
[select specials_id, products_id from specials where status = '0' and (((specials_date_available <= 20171215 and specials_date_available != '0001-01-01') and (expires_date >= 20171215)) or ((specials_date_available <= 20171215 and specials_date_available != '0001-01-01') and (expires_date = '0001-01-01')) or (specials_date_available = '0001-01-01' and expires_date >= 20171215)) ]