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 'and main_region=1 and app_status=1 and MATCH(rnktitle) against ('*' IN BOOLEAN M' at line 1