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 '&& user_ip = "35.171.183.163"' at line 1