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