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 `user_items` ADD INDEX `user_items_idx_user_id` (`user_id`);
SELECT
user_items.item_id
FROM
user_items
WHERE
user_items.user_id = :user_person
ORDER BY
RAND() LIMIT 5