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 `properties` ADD INDEX `properties_idx_propname_itemid` (`propname`,`itemid`);
SELECT
i.itemid,
p.propvalue
FROM
items i
LEFT JOIN
properties p
ON i.itemid = p.itemid
AND p.propname = 'Property Name'
WHERE
i.available