QUERY PLAN
GroupAggregate (cost=12.63..12.67 rows=1 width=342)
Group Key: product_type_id, name
-> Sort (cost=12.63..12.64 rows=1 width=342)
Sort Key: product_type_id, name
-> Seq Scan on tbl_project_product_types pt (cost=0.00..12.62 rows=1 width=342)
Filter: (project_id = 1)