SQL: select t1.* , t1.br_url_ru as url, t1.br_id as br_id from `bereich` as t1 left join bereich_urls_seo as t2 on t2.br_id=t1.br_id and t2.iso='ru' where t1.exists = 1 and t1.br_url_ru='prodol'nofrezernyj-stanok-dvuhstoechnyj' limit 0, 1You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'nofrezernyj-stanok-dvuhstoechnyj' limit 0, 1' at line 1