QUERY PLAN
Sort (cost=466.80..466.88 rows=31 width=253)
Sort Key: created_at DESC
-> Seq Scan on tbl_erp_cash_cost_tickets (cost=0.00..466.03 rows=31 width=253)
Filter: ((created_by = 1001) AND (status = 2))