QUERY PLAN
Sort (cost=45.22..45.24 rows=6 width=16)
Sort Key: id
-> Seq Scan on tbl_purchase_client_rels (cost=0.00..45.14 rows=6 width=16)
Filter: (contract_id = ANY ('{4141,4133,2364,2216,2198,2114}'::integer[]))