query optimizations

welcome to shbcf.ru