Feature/enable disable query explore

Disables query explore feature in the UI if disabled.