Where are staff notices stored in the database?

PlugintStoreRow.where(plugin_name: "user_notes") is probably what you’re looking for