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