QUERY PLAN
Aggregate (cost=3.13..3.14 rows=1 width=8)
-> Hash Join (cost=1.46..3.12 rows=1 width=0)
Hash Cond: (c.id = uc.comment_id)
-> Seq Scan on tbl_comments c (cost=0.00..1.48 rows=46 width=4)
Filter: is_system
-> Hash (cost=1.45..1.45 rows=1 width=4)
-> 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))