Here's a revised version of your sentence:
"We are trying to import the live database to our staging server to address the issue on our demo server first. Without this, I cannot check the issue because we may need to alter and optimize some database queries, and we cannot perform this directly on the live site."