You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and classid = 39' at line 1
select * from ***_enewsdlink where addtime >= 1743696001 and addtime <= 1743782399 and id = 622 and userid = and classid = 39