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 prs_idx_id ON prs (id);
CREATE INDEX qsn_idx_register_date ON qsn (register_date);
SELECT
qsn.code,
(SELECT
prs.display_name
FROM
prs
WHERE
prs.id = qsn.fk_prs) display_name,
(SELECT
prs.address
FROM
prs
WHERE
prs.id = qsn.fk_prs) address,
(SELECT
prs.tel
FROM
prs
WHERE
prs.id = qsn.fk_prs) tel
FROM
qsn
WHERE
qsn.register_date BETWEEN :x1 AND :x2