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