2006 MySQL server has gone away
in:
[select featured_id from featured where status = '1' and ((20250918 >= expires_date and expires_date != '0001-01-01') or (20250918 < featured_date_available and featured_date_available != '0001-01-01'))]