Make more efficient algorithm in FindKeyAccountsMatchingMultipleRelayAccountsService