You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's'' at line 3
SELECT `categoryID`,`meta_title_ru`,`meta_keywords_ru`,`meta_description_ru` FROM `SC_categories` WHERE slug='category_search?search_with_change_category_ability=yes&categoryID=568&search_in_subcategory=1&advanced_search_in_category=1&param_17%5B%5D=Bric's'