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 '-4,4' at line 1
SELECT * FROM mse_katalog WHERE KATLI_AKCE>0 AND KATLI_ADR IN (2) ORDER BY KATLI_PORADI DESC LIMIT -4,4