QUERY PLAN
Sort (cost=161.75..161.94 rows=75 width=16)
Sort Key: id
-> Seq Scan on tbl_purchase_client_rels (cost=0.00..159.41 rows=75 width=16)
Filter: (contract_id = ANY ('{4069,4066,4052,4045,4042,4033,4037,4023,4014,4012,4006,3992,3981,3974,3955,3944,3932,3906,3896,3880,3873,3870,3856,3852,3850,3836,3819,3779,3739,3730,3712,3702,3695,3680,3674,3624,3608,3591,3579,3587,3558,3571,3546,3539,3527,3523,3510,3492,3455,3452,3431,3304,3288,3279}'::integer[]))