どうぞ。(適切なインデックスがあることを確認してください)。また、元の結合を残したことにも注意してください。これは、ある時点で member_id 以外のものが必要になると想定しているためです。しかし、member_id だけが必要な場合は、members テーブルをまとめて削除できます。
/*
insert members (member_name) values ('tom')
insert members (member_name) values ('bob')
insert members (member_name) values ('jim')
declare @tom int
set @tom = (select member_id from members where member_name = 'tom')
insert subscriptions (member_id, is_active) values (@tom, 1)
insert subscriptions (member_id, is_active) values (@tom, 0)
declare @bob int
set @bob = (select member_id from members where member_name = 'bob')
insert subscriptions (member_id, is_active) values (@bob, 0)
insert subscriptions (member_id, is_active) values (@bob, 0)
*/
SELECT m.member_id
FROM members as m
INNER JOIN subscriptions as s ON s.member_id = m.member_id
LEFT JOIN subscriptions s2 on s2.member_id = m.member_id and s2.is_active = 1
WHERE
s.is_active = 0 and
s2.subscription_id is null
Group By m.member_id
また
SELECT s.member_id
FROM subscriptions as s
LEFT JOIN subscriptions s2 on s2.member_id = s.member_id and s2.is_active = 1
WHERE
s.is_active = 0 and
s2.subscription_id is null
Group By s.member_id