2006 MySQL server has gone away
in:
[select specials_id, products_id
from specials
where status = '1'
and ((20251114 >= expires_date and expires_date != '0001-01-01')
or (20251114 < specials_date_available and specials_date_available != '0001-01-01'))]