sostituisci AND DATE(projectcreatedon) =CURRENT_DATE AND DATEPART() <....? con:
AND projectcreatedon > (now() - INTERVAL 10 SECOND)
sostituisci AND DATE(projectcreatedon) =CURRENT_DATE AND DATEPART() <....? con:
AND projectcreatedon > (now() - INTERVAL 10 SECOND)