On https://translatewiki.net/wiki/Special:MessageGroupStats we have an OOUI based EntitySelector that allows selection of groups and message prefixes. The entity selector was developed as part of T246624: Visibility of translation status.
The Codex Lookup selector is a perfect fit to replace the OOUI component.
We'll have to replace the usage of EntitySelector in the TranslationNotifications extension as well.