QUERY PLAN
Sort (cost=50.19..50.22 rows=10 width=16)
Sort Key: id
-> Seq Scan on tbl_purchase_client_rels (cost=0.00..50.03 rows=10 width=16)
Filter: (contract_id = ANY ('{3707,3654,3650,3641,3533,2729,2728,2714,2567,2082}'::integer[]))