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 'like '%\xE8\x91\xA1\xE8\x90\x84\xE7\x89\x99%' and to_days('2025-05-10 23:24:44')' at line 1 select * from ***_ecms_live where like '%葡萄牙%' and to_days('2025-05-10 23:24:44')=to_days(start_time) and unix_timestamp(start_time)+9600>= 1746890684 order by newstime limit 100