I think a data explorer query is still the recommended way.
Something simple like this perhaps:
-- [params]
-- user_id :user
SELECT user_id,
master_user_id
FROM anonymous_users
WHERE user_id = :user
Though the exact query may depend on what you need the info for.