handle empty products set on cache_key_for_products
rely on maximum return to fall back on static date

Fixes #4565