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 `relationship` ADD INDEX `relationship_idx_rel_id` (`rel_client1_id`);
SELECT
CONCAT_WS(' ',
client.client_firstname,
client.client_lastname) AS A_name,
relationship.rel_client1_state AS A_state
FROM
client
INNER JOIN
relationship
ON client.client_id = relationship.rel_client1_id