QUERY PLAN
Aggregate (cost=2.96..2.97 rows=1 width=8)
-> Nested Loop (cost=0.00..2.95 rows=1 width=0)
Join Filter: (uc.comment_id = c.id)
-> Seq Scan on tbl_unread_comments uc (cost=0.00..1.45 rows=1 width=4)
Filter: ((NOT is_read) AND (remind_user_id = 5493))
-> Seq Scan on tbl_comments c (cost=0.00..1.48 rows=2 width=4)
Filter: (NOT is_system)