QUERY PLAN
Sort (cost=72.70..72.75 rows=20 width=16)
Sort Key: id
-> Seq Scan on tbl_purchase_client_rels (cost=0.00..72.27 rows=20 width=16)
Filter: (contract_id = ANY ('{3834,3769,3756,3773,3747,3727,3726,3704,3663,3621,3617,3600,3574,3610,3582,3526,3503,3494,3430,3422}'::integer[]))