QUERY PLAN
Sort (cost=1.04..1.04 rows=1 width=25)
Sort Key: id
-> Seq Scan on tbl_erp_cost_convert_ticket_stop_verify_rels (cost=0.00..1.03 rows=1 width=25)
Filter: ((status <> 0) AND (erp_cost_convert_ticket_id = ANY ('{12,10,9,8,7,6,5,4,3,2,1}'::integer[])))