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 `pc` ADD INDEX `pc_idx_speed_ram_model` (`speed`,`ram`,`model`);
SELECT
t1.model,
t2.model,
t1.speed,
t1.ram
FROM
pc t1,
pc t2
WHERE
t1.speed = t2.speed
AND t1.ram = t2.ram
AND t1.model != t2.model