Add media folder to .gitignore
Improve admin dashboard database queries
Improve order database query