How to prevent notifications of old Messages when I log into my Mac?
Solution 1:
Power Nap, a feature of MacBooks that enables them to do more when they are asleep (like back up to iCloud/Time Capsule, check emails, and check iMessage) will allow your Mac to stop showing messages you've already read when you open your computer. Here is Apple's support guide on turning on Power Nap.