Database Error

Query: "SELECT * FROM emaygo_web_categoryler INNER JOIN emaygo_web_categoryler_lang ON emaygo_web_categoryler.category_code = emaygo_web_categoryler_lang.category_lang_code WHERE category_durum='OK' AND () AND category_tipi='reklamicerik' AND category_lang_lang_code = 'tr_TR' AND ( category_code!='84053062') order by rand() limit 1"

Error: 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 ') AND category_tipi='reklamicerik' AND category_lang_lang_code = 'tr_TR' AND ( c' at line 1