You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 's park' or attributes_name ='regent's park escorts' or attributes_name ='regent'' at line 1 in :
SELECT * FROM naughty_attribute_listings WHERE (attributes_name ='regent's park' or attributes_name ='regent's park escorts' or attributes_name ='regent's park escort') and attributes_type='1' and attributes_display_status='1'