QUERY PLAN
Aggregate (cost=0.04..0.05 rows=1 width=32)
-> Sort (cost=0.02..0.03 rows=1 width=794)
Sort Key: p.bargain_date DESC, p.created_at DESC
-> HashAggregate (cost=0.00..0.01 rows=1 width=794)
Group Key: p.id
-> Result (cost=0.00..0.00 rows=0 width=21)
One-Time Filter: false