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:
SELECT
`lpsi`.`listing_product_id`
FROM
`m2epro_listing_product_instruction` AS `lpsi`
LEFT JOIN
`m2epro_processing_lock` AS `pl`
ON pl.object_id = lpsi.listing_product_id
AND model_name = 'M2ePro/Listing_Product'
WHERE
(
lpsi.component = 'ebay'
)
AND (
pl.id IS NULL
)
GROUP BY
`lpsi`.`listing_product_id`
ORDER BY
MAX(lpsi.priority) DESC,
MIN(lpsi.create_date) ASC LIMIT 10