Having
SELECT
used.customer_id AS CustomerId
,CASE WHEN configured.customer_id IS NULL THEN 0 ELSE 1 END AS IsConfigured
FROM (SELECT DISTINCT tenant_id FROM a) AS used
LEFT JOIN (SELECT DISTINCT customer_id FROM c) AS configured
ON used.customer_id = configured.customer_id
I get a row with customerid and isconfigured properties instead of CustomerId and IsConfigured