syntax error: SELECT * FROM table_counter WHERE ip='3.12.162.179' AND (tm+'900')>'1714996497'