замести AND DATE(projectcreatedon) =CURRENT_DATE И DATEPART() <....? с:
AND projectcreatedon > (now() - INTERVAL 10 SECOND)
замести AND DATE(projectcreatedon) =CURRENT_DATE И DATEPART() <....? с:
AND projectcreatedon > (now() - INTERVAL 10 SECOND)