QUERY PLAN
Sort (cost=492.89..492.97 rows=31 width=237)
Sort Key: created_at DESC
-> Seq Scan on tbl_erp_cash_cost_tickets (cost=0.00..492.12 rows=31 width=237)
Filter: ((created_by = 1001) AND (status = 2))