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 ('{3834,3832,3828,3826,3825,3824,3823,3821,3820,3819}'::integer[]))