In case you have your own slow SQL query, you can optimize it automatically here.
For the query above, the following recommendations will be helpful as part of the SQL tuning process.
You'll find 3 sections below:
CREATE INDEX t2_idx_cust_id ON "t2" ("cust_id");
CREATE INDEX t3_idx_cust_id_reg_date ON "t3" ("cust_id","reg_date");
SELECT
count(*)
FROM
t1 a
WHERE
EXISTS (
SELECT
1
FROM
t2 c
WHERE
a.cust_id = c.cust_id OFFSET 0
)
AND EXISTS (
SELECT
1
FROM
t3 b
WHERE
b.reg_date >= '2021-02-02'
AND a.cust_id = b.cust_id OFFSET 0
)