QUERY PLAN
Finalize GroupAggregate (cost=4335.49..4336.21 rows=41 width=10)
Group Key: object_type
-> Sort (cost=4335.49..4335.59 rows=41 width=10)
Sort Key: object_type
-> Gather (cost=4329.88..4334.39 rows=41 width=10)
Workers Planned: 1
-> Partial HashAggregate (cost=3329.88..3330.29 rows=41 width=10)
Group Key: object_type
-> Parallel Seq Scan on tbl_unread_comments (cost=0.00..3324.51 rows=1073 width=2)
Filter: ((NOT is_read) AND (remind_user_id = 1001))