More performant 'mark as viewed' for notifications