allow no variant products to be eligilbe in the exchange for

prevent n+1 query by using is_master

fixes #5749
fixes #5745