get array of products from a given single where clause