QUERY PLAN
Sort (cost=12.26..12.31 rows=20 width=25)
Sort Key: id
-> Seq Scan on tbl_erp_payment_ticket_verify_rels (cost=0.00..11.82 rows=20 width=25)
Filter: ((status <> 0) AND (erp_payment_ticket_id = ANY ('{2300,2299,2298,2297,2296,2295,2294,2293,2292,2291,2290,2289,2288,2287,2286,2285,2284,2283,2282,2281}'::integer[])))