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 `formats` ADD INDEX `formats_idx_format_id` (`format_id`);
ALTER TABLE `items` ADD INDEX `items_idx_item_priva_item_forma_item_id` (`item_private`,`item_format`,`item_id`);
ALTER TABLE `items` ADD INDEX `items_idx_item_id` (`item_id`);
SELECT
i.item_name,
i.item_key,
i.item_date,
f.format_long
FROM
items i,
formats f
WHERE
i.item_format = f.format_id
AND i.item_private = 0
ORDER BY
i.item_id DESC LIMIT 8