syntax error: SELECT COUNT(*) AS visitip FROM counter WHERE ip='54.166.141.12' AND (tm+'900')>'1529796220'