syntax error: SELECT COUNT(*) AS visitip FROM counter WHERE ip='172.68.65.77' AND (tm+'600')>'1606195362'