SELECT * FROM minecraft_manager_application WHERE id = (SELECT application_id FROM minecraft_manager_player WHERE LOWER(username) = ?);