Query
SELECT date_format(timestampadd(HOUR, -4, dt), '%a, %d %b %Y %k:%i:%s GMT') lm
,title
,text
FROM add_texts
WHERE id = 0
AND tp = 'rtyoci_aviabilety_tokyo_cote-d'ivoire' failed: 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 'ivoire'' at line 6