QUERY PLAN
Aggregate (cost=48.50..48.51 rows=1 width=32)
-> Seq Scan on tbl_inventory_product_spents (cost=0.00..48.50 rows=1 width=5)
Filter: (sales_product_id = 1280)