2013 Lost connection to MySQL server during query
in:
[select featured_id
from featured
where status = '0'
and (((featured_date_available <= 20241123 and featured_date_available != '0001-01-01') and (expires_date > 20241123))
or ((featured_date_available <= 20241123 and featured_date_available != '0001-01-01') and (expires_date = '0001-01-01'))
or (featured_date_available = '0001-01-01' and expires_date > 20241123))
]