QUERY PLAN
Sort (cost=419.90..419.96 rows=22 width=214)
Sort Key: created_at DESC
-> Seq Scan on tbl_erp_cash_cost_tickets (cost=0.00..419.41 rows=22 width=214)
Filter: ((created_by = 1001) AND (status = 2))