syntax error: SELECT COUNT(*) AS visitip FROM table_counter WHERE ip='3.140.197.17' AND (tm+'900')>'1717025044'