CURDATE(), now(), sysdate() all of them are showing yesterdays date which is causing to show wrong results in the system.
Below is the screenshot for the query in MyS