select u.id,
       u.created_at  as "created_at: DateTime<Utc>",
       u.updated_at  as "updated_at: DateTime<Utc>",
       u.is_admin    as "is_admin: bool",
       u.username,
       u.name,
       u.email,
       u.password,
       u.password_recover,
       u.paper_key,
       u.is_archived as "is_archived: bool",
       u.timezone
from users u

         inner join settings s on u.id = s.first_admin

where u.is_admin is 1
  and u.is_archived is 0
  and u.id is s.first_admin

limit 1