[1.6.x] Fixed #24035 -- Clarified docs on CACHE_MIDDLEWARE_KEY_PREFIX vs KEY_PREFIX

Backport of 446b50b90e9e60760618b236d8b0ea75a3b19d5a from master