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