On a mean value result for a product of $L$-functions