Query Run
SELECT afh_id, afh_timestamp, ( case when (afh_pattern like "%\r%") THEN... 3 years ago
SELECT afh_id, afh_timestamp FROM `abuse_filter_history` where... 3 years ago
SELECT * FROM `abuse_filter_history` where afh_filter=366 3 years ago
SELECT * FROM `abuse_filter_history` where afh_filter=366 and afh_pattern like "%\r%" 3 years ago