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