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 `users` ADD INDEX `users_idx_u_id` (`u_id`);
ALTER TABLE `users_metas` ADD INDEX `users_metas_idx_um_name_um_uid` (`um_name`,`um_uid`);
SELECT
u.u_nickname,
u.u_email,
um1.um_value AS u_avatar,
um2.um_value AS u_connection
FROM
users AS u
LEFT JOIN
users_metas AS um1
ON um1.um_uid = u.u_id
AND um1.um_name = 'avatar'
LEFT JOIN
users_metas AS um2
ON um2.um_uid = u.u_id
AND um2.um_name = 'connection_date'
WHERE
u.u_id = :u_id