On the distribution in short intervals of products of a prime and integers from a given set