QUERY PLAN
Sort (cost=74.86..74.92 rows=24 width=213)
Sort Key: created_at DESC
-> Seq Scan on tbl_erp_payment_tickets (cost=0.00..74.31 rows=24 width=213)
Filter: ((created_by = 1001) AND (status = 2))