QUERY PLAN
Sort (cost=54.26..54.28 rows=8 width=16)
Sort Key: id
-> Seq Scan on tbl_purchase_client_rels (cost=0.00..54.14 rows=8 width=16)
Filter: (contract_id = ANY ('{4174,4137,3817,3723,3687,3461,3387,3340}'::integer[]))