Try this:
SELECT * FROM userId WHERE __key__ = KEY('packageName', 'com.mycompany.example', 'userId','someone@gmail.com')
> // SELECT * FROM ChildClassName WHERE __key__ = KEY('ParentClassName', 'ParentName, 'ChildClassName', 'ChildName'))
See the info about the Key class for more details.
hope this helps.