Большая распродажа

Магазины

Флагманский гипермаркет — самый широкий ассортимент
Гипермаркет — большой ассортимент товаров
Супермаркет — базовый ассортимент товаров
  • RUS
  • BEL
  • KZH
Скоро открытие

142
хобби-гипермаркета входит в состав сети

136
магазинов в 59 городах России

3
магазина в респ. Беларусь в г. Минск

3
магазина в респ. Казахстан в г. Астана, в г. Алматы.

Главная Каталог Чат Корзина0 Профиль
DEBUG enable
Num SQL queries:196
Num fetched rows:473
including array rows:207
Time of script run:0.2329638004303
Time of SQL queries:0.21510648727417
Timers out:
Счетчик "Подгототовка страницы", время выполнения - 0.0022с
Счетчик "Module=shops", время выполнения - 0.2122с
Счетчик "Block=cssstyles", время выполнения - 0.0001с
Счетчик "Block=headlongtextjs", время выполнения - 0с
Счетчик "Block=header", время выполнения - 0.0001с
Счетчик "Block=catalogtree", время выполнения - 0.0009с
Счетчик "Block=rentmagazin", время выполнения - 0.0026с
Счетчик "Block=footer", время выполнения - 0.0002с
Счетчик "Block=appdownload", время выполнения - 0.0002с
Счетчик "Block=footercartjs", время выполнения - 0.0001с
Счетчик "Block=ganalitics", время выполнения - 0.0001с
Счетчик "Block=jivosite", время выполнения - 0.0001с
Счетчик "Block=metrika", время выполнения - 0.0008с
Счетчик "Block=statmailru", время выполнения - 0.0001с
Счетчик "Block=stat", время выполнения - 0.0002с

SELECT new_link FROM leo_redirect WHERE old_link = "/shop/geo/almaty/" AND active = 1 # Num rows 0Run time:Time of run:0.00022602081298828

SELECT id_city FROM leo_city_preffered WHERE city='Astana' ORDER BY `lock` DESC,countEnt DESC LIMIT 1; # Num rows -1Run time:Time of run:0.00014400482177734

SELECT id_city,path,name,ishop_id,ishop_name,kladr_id,country_id,utc,largest_dep_id,final_sale FROM leo_city WHERE path='astana'; # Num rows 1Run time:Time of run:0.00017690658569336

SELECT index_id,title,domen FROM leonardo_kz_ru.leo_index WHERE parent_index_id=0 AND alias LIKE 'shop' LIMIT 1; # Num rows 1Run time:Time of run:0.00018191337585449

SELECT index_id,title,domen FROM leonardo_kz_ru.leo_index WHERE parent_index_id=15 AND alias LIKE 'geo' LIMIT 1; # Num rows 0Run time:Time of run:0.00018501281738281

SELECT title,template_id,content,domen,index_id FROM leonardo_kz_ru.leo_index WHERE index_id=15; # Num rows 1Run time:Time of run:0.0001368522644043

SELECT html FROM leonardo_kz_ru.leo_template WHERE template_id=20 # Num rows 1Run time:Time of run:0.00018405914306641

SELECT metatag FROM leonardo_kz_ru.leo_index WHERE index_id = 15 # Num rows 1Run time:Time of run:0.0006721019744873



SELECT t1.id_city,t1.path,t1.name,t1.country_id FROM leo_city AS t1, leo_shops AS t2 WHERE t1.id_city = t2.id_city AND t1.path='almaty' AND t2.work = 1 LIMIT 1; # Num rows 1Run time:Time of run:0.00025415420532227

SELECT COUNT(*) FROM leo_shops WHERE work=1 # Num rows 1Run time:Time of run:0.00020098686218262

SELECT t1.* FROM leo_city AS t1,leo_shops AS t2 WHERE t2.work=1 AND t2.id_city=t1.id_city GROUP BY id_city # Num rows 62Run time:Time of run:0.0039432048797607

SELECT t1.name AS cityname, t3.path, t3.name AS shopname FROM leo_city AS t1 LEFT JOIN leo_shops AS t3 ON t1.id_city=t3.id_city AND t3.work=0 WHERE t3.id_city IS NOT NULL ORDER BY cityname,path # Num rows 0Run time:Time of run:0.0030131340026855

SELECT t1.`name`, t1.path, t1.adress, t2.name AS name_city FROM `leo_shops` AS t1, leo_city AS t2 WHERE t1.`id_city`=t2.id_city /*AND t2.country_id=1*/ /*AND t1.work=1*/ AND (t1.work = 0 OR t1.work = 1) ORDER BY name_city, t1.`name`, t1.adress; # Num rows 143Run time:Time of run:0.0013868808746338

SELECT t1.* FROM leo_city AS t1,leo_shops AS t2 WHERE t2.work=1 AND t2.id_city=t1.id_city GROUP BY id_city ORDER BY t1.name # Num rows 62Run time:Time of run:0.0048370361328125

SELECT id_city,name,path,final_sale FROM leo_city where visible=1 ORDER BY name; # Num rows 85Run time:Time of run:0.003209114074707

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='51'); # Num rows 1Run time:Time of run:0.00024294853210449

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='51'); # Num rows 1Run time:Time of run:0.0016820430755615

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='83'); # Num rows 1Run time:Time of run:0.00019598007202148

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='83'); # Num rows 1Run time:Time of run:0.00020694732666016

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='24'); # Num rows 1Run time:Time of run:0.00024914741516113

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='24'); # Num rows 1Run time:Time of run:0.00018501281738281

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='64'); # Num rows 1Run time:Time of run:0.00014710426330566

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='64'); # Num rows 1Run time:Time of run:0.00016903877258301

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='46'); # Num rows 1Run time:Time of run:0.00015020370483398

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='46'); # Num rows 1Run time:Time of run:0.00057792663574219

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='37'); # Num rows 1Run time:Time of run:0.00020480155944824

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='37'); # Num rows 1Run time:Time of run:0.0004880428314209

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='65'); # Num rows 1Run time:Time of run:0.00032210350036621

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='65'); # Num rows 1Run time:Time of run:0.00022387504577637

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='66'); # Num rows 1Run time:Time of run:0.0001838207244873

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='66'); # Num rows 1Run time:Time of run:0.00014805793762207

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='49'); # Num rows 1Run time:Time of run:0.00049304962158203

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='49'); # Num rows 1Run time:Time of run:0.00049400329589844

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='17'); # Num rows 1Run time:Time of run:0.0032801628112793

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='17'); # Num rows 1Run time:Time of run:0.00069212913513184

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='88'); # Num rows 1Run time:Time of run:0.0032579898834229

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='88'); # Num rows 1Run time:Time of run:0.00026917457580566

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='52'); # Num rows 1Run time:Time of run:0.0014669895172119

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='52'); # Num rows 1Run time:Time of run:0.00016903877258301

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='87'); # Num rows 1Run time:Time of run:0.00020503997802734

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='87'); # Num rows 1Run time:Time of run:0.00040197372436523

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='41'); # Num rows 1Run time:Time of run:0.0011210441589355

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='41'); # Num rows 1Run time:Time of run:0.0010299682617188

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='61'); # Num rows 1Run time:Time of run:0.0027492046356201

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='61'); # Num rows 1Run time:Time of run:0.00017619132995605

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='47'); # Num rows 1Run time:Time of run:0.00036501884460449

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='47'); # Num rows 1Run time:Time of run:0.0006561279296875

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='60'); # Num rows 1Run time:Time of run:0.0032351016998291

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='60'); # Num rows 1Run time:Time of run:0.00022196769714355

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='18'); # Num rows 1Run time:Time of run:0.00049400329589844

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='18'); # Num rows 1Run time:Time of run:0.0029611587524414

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='67'); # Num rows 1Run time:Time of run:0.0042738914489746

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='67'); # Num rows 1Run time:Time of run:0.0002589225769043

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='12'); # Num rows 1Run time:Time of run:0.00023007392883301

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='12'); # Num rows 1Run time:Time of run:0.00043988227844238

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='78'); # Num rows 1Run time:Time of run:0.00026702880859375

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='78'); # Num rows 1Run time:Time of run:0.0010111331939697

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='68'); # Num rows 1Run time:Time of run:0.0019528865814209

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='68'); # Num rows 1Run time:Time of run:0.00018692016601562

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='7'); # Num rows 1Run time:Time of run:0.0002899169921875

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='7'); # Num rows 1Run time:Time of run:0.00063896179199219

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='69'); # Num rows 1Run time:Time of run:0.00093603134155273

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='69'); # Num rows 1Run time:Time of run:0.00055599212646484

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='20'); # Num rows 1Run time:Time of run:0.0050749778747559

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='20'); # Num rows 1Run time:Time of run:0.00021886825561523

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='38'); # Num rows 1Run time:Time of run:0.0038199424743652

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='38'); # Num rows 1Run time:Time of run:0.0035150051116943

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='45'); # Num rows 1Run time:Time of run:0.0026609897613525

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='45'); # Num rows 1Run time:Time of run:0.0057079792022705

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='5'); # Num rows 1Run time:Time of run:0.0039498805999756

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='5'); # Num rows 1Run time:Time of run:0.0026118755340576

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='59'); # Num rows 1Run time:Time of run:0.00084805488586426

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='59'); # Num rows 1Run time:Time of run:0.00020217895507812

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='56'); # Num rows 1Run time:Time of run:0.00035905838012695

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='56'); # Num rows 1Run time:Time of run:0.00052690505981445

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='89'); # Num rows 1Run time:Time of run:0.00094890594482422

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='89'); # Num rows 1Run time:Time of run:0.00039196014404297

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='70'); # Num rows 1Run time:Time of run:0.00029897689819336

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='70'); # Num rows 1Run time:Time of run:0.0032579898834229

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='71'); # Num rows 1Run time:Time of run:0.00019288063049316

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='71'); # Num rows 1Run time:Time of run:0.00017309188842773

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='8'); # Num rows 1Run time:Time of run:0.00032496452331543

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='8'); # Num rows 1Run time:Time of run:0.00019693374633789

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='10'); # Num rows 1Run time:Time of run:0.00091004371643066

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='10'); # Num rows 1Run time:Time of run:0.00048494338989258

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='43'); # Num rows 1Run time:Time of run:0.00023198127746582

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='43'); # Num rows 1Run time:Time of run:0.0002598762512207

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='80'); # Num rows 1Run time:Time of run:0.00019121170043945

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='80'); # Num rows 1Run time:Time of run:0.00018191337585449

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='72'); # Num rows 1Run time:Time of run:0.00035405158996582

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='72'); # Num rows 1Run time:Time of run:0.00031208992004395

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='27'); # Num rows 1Run time:Time of run:0.00053715705871582

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='27'); # Num rows 1Run time:Time of run:0.00034093856811523

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='42'); # Num rows 1Run time:Time of run:0.00029802322387695

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='42'); # Num rows 1Run time:Time of run:0.00082182884216309

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='3'); # Num rows 1Run time:Time of run:0.00054597854614258

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='3'); # Num rows 1Run time:Time of run:0.00068497657775879

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='84'); # Num rows 1Run time:Time of run:0.0030291080474854

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='84'); # Num rows 1Run time:Time of run:0.00042510032653809

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='79'); # Num rows 1Run time:Time of run:0.00049614906311035

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='79'); # Num rows 1Run time:Time of run:0.0016028881072998

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='58'); # Num rows 1Run time:Time of run:0.00057315826416016

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='58'); # Num rows 1Run time:Time of run:0.0017971992492676

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='28'); # Num rows 1Run time:Time of run:0.0028090476989746

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='28'); # Num rows 1Run time:Time of run:0.00087690353393555

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='36'); # Num rows 1Run time:Time of run:0.001662015914917

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='36'); # Num rows 1Run time:Time of run:0.00020289421081543

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='81'); # Num rows 1Run time:Time of run:0.0024230480194092

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='81'); # Num rows 1Run time:Time of run:0.001194953918457

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='9'); # Num rows 1Run time:Time of run:0.001021146774292

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='9'); # Num rows 1Run time:Time of run:0.00017881393432617

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='73'); # Num rows 1Run time:Time of run:0.00071907043457031

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='73'); # Num rows 1Run time:Time of run:0.00083112716674805

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='11'); # Num rows 1Run time:Time of run:0.00055694580078125

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='11'); # Num rows 1Run time:Time of run:0.00022506713867188

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='55'); # Num rows 1Run time:Time of run:0.0025570392608643

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='55'); # Num rows 1Run time:Time of run:0.0006098747253418

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='25'); # Num rows 1Run time:Time of run:0.0017800331115723

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='25'); # Num rows 1Run time:Time of run:0.00024199485778809

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='63'); # Num rows 1Run time:Time of run:0.00020289421081543

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='63'); # Num rows 1Run time:Time of run:0.00020909309387207

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='16'); # Num rows 1Run time:Time of run:0.00019502639770508

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='16'); # Num rows 1Run time:Time of run:0.00021696090698242

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='39'); # Num rows 1Run time:Time of run:0.00024008750915527

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='39'); # Num rows 1Run time:Time of run:0.00019407272338867

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='53'); # Num rows 1Run time:Time of run:0.00024008750915527

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='53'); # Num rows 1Run time:Time of run:0.00026607513427734

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='74'); # Num rows 1Run time:Time of run:0.0032670497894287

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='74'); # Num rows 1Run time:Time of run:0.00073599815368652

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='75'); # Num rows 1Run time:Time of run:0.0006558895111084

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='75'); # Num rows 1Run time:Time of run:0.0025551319122314

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='22'); # Num rows 1Run time:Time of run:0.0027041435241699

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='22'); # Num rows 1Run time:Time of run:0.0020899772644043

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='19'); # Num rows 1Run time:Time of run:0.0032279491424561

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='19'); # Num rows 1Run time:Time of run:0.00067305564880371

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='13'); # Num rows 1Run time:Time of run:0.0032901763916016

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='13'); # Num rows 1Run time:Time of run:0.00068497657775879

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='4'); # Num rows 1Run time:Time of run:0.0032730102539062

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='4'); # Num rows 1Run time:Time of run:0.0022480487823486

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='32'); # Num rows 1Run time:Time of run:0.0037250518798828

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='32'); # Num rows 1Run time:Time of run:0.0038070678710938

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='76'); # Num rows 1Run time:Time of run:0.00045394897460938

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='76'); # Num rows 1Run time:Time of run:0.0040011405944824

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='77'); # Num rows 1Run time:Time of run:0.0028750896453857

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='77'); # Num rows 1Run time:Time of run:0.0003969669342041

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='44'); # Num rows 1Run time:Time of run:0.00022792816162109

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='44'); # Num rows 1Run time:Time of run:0.00026988983154297

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='62'); # Num rows 1Run time:Time of run:0.00019192695617676

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='62'); # Num rows 1Run time:Time of run:0.0002739429473877

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='90'); # Num rows 1Run time:Time of run:0.00017595291137695

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='90'); # Num rows 1Run time:Time of run:0.00042104721069336

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='29'); # Num rows 1Run time:Time of run:0.00024700164794922

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='29'); # Num rows 1Run time:Time of run:0.00023889541625977

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='14'); # Num rows 1Run time:Time of run:0.00063109397888184

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='14'); # Num rows 1Run time:Time of run:0.0003058910369873

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='26'); # Num rows 1Run time:Time of run:0.0015468597412109

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='26'); # Num rows 1Run time:Time of run:0.0037200450897217

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='57'); # Num rows 1Run time:Time of run:0.0055241584777832

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='57'); # Num rows 1Run time:Time of run:0.0029091835021973

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='6'); # Num rows 1Run time:Time of run:0.002985954284668

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='6'); # Num rows 1Run time:Time of run:0.00024199485778809

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='82'); # Num rows 1Run time:Time of run:0.00030207633972168

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='82'); # Num rows 1Run time:Time of run:0.0003359317779541

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='34'); # Num rows 1Run time:Time of run:0.00031089782714844

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='34'); # Num rows 1Run time:Time of run:0.00037384033203125

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='23'); # Num rows 1Run time:Time of run:0.0010159015655518

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='23'); # Num rows 1Run time:Time of run:0.0005180835723877

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='48'); # Num rows 1Run time:Time of run:0.00028896331787109

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='48'); # Num rows 1Run time:Time of run:0.00025010108947754

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='35'); # Num rows 1Run time:Time of run:0.00038003921508789

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='35'); # Num rows 1Run time:Time of run:0.00047206878662109

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='15'); # Num rows 1Run time:Time of run:0.0018448829650879

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='15'); # Num rows 1Run time:Time of run:0.00067520141601562

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='40'); # Num rows 1Run time:Time of run:0.0023930072784424

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='40'); # Num rows 1Run time:Time of run:0.0031380653381348

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='54'); # Num rows 1Run time:Time of run:0.00046682357788086

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='54'); # Num rows 1Run time:Time of run:0.0013952255249023

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='33'); # Num rows 1Run time:Time of run:0.00033187866210938

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='33'); # Num rows 1Run time:Time of run:0.00031805038452148

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='85'); # Num rows 1Run time:Time of run:0.0002140998840332

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='85'); # Num rows 1Run time:Time of run:0.0020039081573486

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='86'); # Num rows 1Run time:Time of run:0.00040888786315918

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='86'); # Num rows 1Run time:Time of run:0.00055909156799316

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) AND (id_city='21'); # Num rows 1Run time:Time of run:0.00049304962158203

SELECT count(*) FROM leo_shops WHERE (work=0) and (id_city='21'); # Num rows 1Run time:Time of run:0.00033807754516602

SELECT count(*) FROM leo_shops WHERE (work=1); # Num rows 1Run time:Time of run:0.00040292739868164

SELECT count(*) FROM leo_shops WHERE (work=1) and dep_id NOT IN (190) and (id_city='3'); # Num rows 1Run time:Time of run:0.00040006637573242

SELECT count(*) FROM leo_shops WHERE (work=1) and (id_city='4'); # Num rows 1Run time:Time of run:0.0028610229492188

SELECT new_link FROM leo_canonical WHERE old_link = "/shop/geo/almaty/" AND active = 1 # Num rows 0Run time:Time of run:0.0003509521484375

SELECT id FROM leo_shops AS t1 LEFT JOIN leo_city AS t2 ON t1.id_city=t2.id_city WHERE work=1 AND t1.dep_id NOT IN (190) ; # Num rows 142Run time:Time of run:0.0005948543548584

SELECT id FROM leo_shops AS t1 LEFT JOIN leo_city AS t2 ON t1.id_city=t2.id_city WHERE work=1 AND t1.dep_id NOT IN (190) AND t2.country_id=1; # Num rows 136Run time:Time of run:0.00070619583129883

SELECT t2.id_city FROM leo_shops AS t1 LEFT JOIN leo_city AS t2 ON t1.id_city=t2.id_city WHERE t1.work=1 AND t2.country_id=1 GROUP BY t2.id_city # Num rows 59Run time:Time of run:0.00064396858215332

SELECT id FROM leo_shops AS t1 LEFT JOIN leo_city AS t2 ON t1.id_city=t2.id_city WHERE work=1 AND t2.country_id=2; # Num rows 3Run time:Time of run:0.0002281665802002

SELECT id FROM leo_shops AS t1 LEFT JOIN leo_city AS t2 ON t1.id_city=t2.id_city WHERE work=1 AND t2.country_id=3; # Num rows 3Run time:Time of run:0.00020503997802734

SELECT personaldata FROM leo_clients_unregistered WHERE client_id = -1 # Num rows 0Run time:Time of run:0.00027298927307129

UPDATE leo_clients_unregistered SET personaldata = '{"exp2":"expS1"}' WHERE client_id = -1 # Num rows 0Run time:Time of run:0.0002748966217041