Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[MySQL][ODBC 3.51 Driver][mysqld-5.5.5-10.5.18-MariaDB-0+deb11u1-log]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 '-Orli-leti-pro-tri-body-do-Bohumina-806 AND zobraz = 1 ORDER BY datum DESC, I...' at line 1

/inc/init/article.inc, line 17