Apple Mail not showing mails in Smart Mailbox after upgrading to 10.15.2
Steps to solve it:


Goto to "Inbox" in mailboxes
Press "Cmd + A" to select all messages
Click Message > "Move to Google Again"


This rebuilds all the "Smart Mailboxes".