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:
CREATE INDEX event_idx_eventtype_id_article_id ON "event" ("eventtype_id","article_id");
SELECT
a.id AS article_id,
a.summary AS article_summary,
evnt.comment AS event_comment
FROM
article a
LEFT JOIN
event evnt
ON evnt.article_id = a.id
AND evnt.eventtype_id = 4