QUERY PLAN
Aggregate (cost=5.96..5.97 rows=1 width=32)
-> Seq Scan on tbl_erp_inventory_product_spents (cost=0.00..5.95 rows=4 width=4)
Filter: (erp_inventory_product_id = 230)