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