select id as member_id
from tenant_members
where tenant_id = '816b24fe-a0c3-4409-b79b-c6c0a6935d03'
  and user_id = '824f125c-55bb-40f5-a8c4-7a33618b91c7'
limit 1;