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:
ALTER TABLE `person` ADD INDEX `person_idx_subscriber_company_id_person_id` (`subscriber_id`,`company_id`,`person_id`);
ALTER TABLE `po_header` ADD INDEX `po_header_idx_subscriber_id_company_id` (`subscriber_id`,`company_id`);
SELECT
p.po_number,
(SELECT
t.full_name
FROM
person t
WHERE
t.subscriber_id = 358
AND t.company_id = 2
AND t.person_id = p.buyer_person_id) buyer_name
FROM
po_header p
WHERE
p.subscriber_id = 358
AND p.company_id = 2