QUERY PLAN
Aggregate (cost=12.63..12.64 rows=1 width=32)
-> Seq Scan on tbl_erp_inventory_product_spents (cost=0.00..12.62 rows=1 width=32)
Filter: (erp_inventory_product_id = 1)