[fix] Optimize access to sources by pubkey, using specific index Closes #1438 See merge request !1420