QUERY PLAN
Sort (cost=59.76..59.80 rows=14 width=16)
Sort Key: id
-> Seq Scan on tbl_purchase_client_rels (cost=0.00..59.50 rows=14 width=16)
Filter: (contract_id = ANY ('{3267,3268,3211,3223,2952,2810,2779,2757,2746,2629}'::integer[]))