This is code in the modulestore, so it doesn't know about django (which is why it isn't `settings.XBLOCK_SELECT_FUNCTION`). However, `modulestore/django.py` injects `XBLOCK_SELECT_FUNCTION` into the modulestore as `xblock_select`, which is why that's used here.