QUERY PLAN
GroupAggregate (cost=0.00..4.43 rows=2 width=196)
Group Key: product_id
-> Seq Scan on tbl_erp_inventory_products (cost=0.00..4.34 rows=2 width=21)
Filter: (product_id = 1040)