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 `store_product` ADD INDEX `store_product_idx_id` (`id`);
SELECT
products.id,
CASE
WHEN store_product.name IS NOT NULL
AND store_product.name != '' THEN store_product.name
ELSE products.name END AS name
FROM
products
LEFT JOIN
store_product
ON store_product.id = products.id