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