Drupal: Use database replica as entity query target