Барлық акциялар осында

Вышивание

Жеңілдікпен тауарлар

Танымал брендтер

Барлық брендтер
Главная Каталог Чат Корзина0 Профиль
Найдено 99 товаров Посмотреть
DEBUG enable
Num SQL queries:98
Num fetched rows:395
including array rows:72
Time of script run:0.17023491859436
Time of SQL queries:0.14848494529724
Timers out:
Счетчик "Подгототовка страницы", время выполнения - 0.0017с
Счетчик "ModIshopTree tree data", время выполнения - 0.0003с
Счетчик "ModIshopTree breads", время выполнения - 0.0003с
Счетчик "ModIshopTree firstlevel", время выполнения - 0.0031с
Счетчик "Module=ishop", время выполнения - 0.0041с
Счетчик "Block=stat", время выполнения - 0с
Счетчик "Block=cssstyles", время выполнения - 0с
Счетчик "Block=headcatalogjs", время выполнения - 0с
Счетчик "Block=header", время выполнения - 0.0001с
Счетчик "Block=catalogtree", время выполнения - 0.0005с
Счетчик "Block=retailrocketblocks", время выполнения - 0.0001с
Счетчик "Block=recomendedtree", время выполнения - 0.0233с
Счетчик "Block=recomendedtree", время выполнения - 0.0187с
Счетчик "Block=recomendedtree", время выполнения - 0.027с
Счетчик "Block=mainbrandstree", время выполнения - 0.0844с
Счетчик "Block=footer", время выполнения - 0.0011с
Счетчик "Block=appdownload", время выполнения - 0.0005с
Счетчик "Block=footercatalogjs", время выполнения - 0.0005с
Счетчик "Block=ganalitics", время выполнения - 0.0005с
Счетчик "Block=metrika", время выполнения - 0.0002с
Счетчик "Block=statmailru", время выполнения - 0.0001с
Счетчик "Block=jivosite", время выполнения - 0.0001с

SELECT new_link FROM leo_redirect WHERE old_link = "/ishop/tree_1436906062/" AND active = 1 # Num rows 0Run time:Time of run:0.00025010108947754

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.00015687942504883

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 'ishop' LIMIT 1; # Num rows 1Run time:Time of run:0.00018405914306641

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

SELECT IFNULL(NULLIF(lil.title,""), li.title) as title,li.template_id,li.content,li.domen,li.index_id FROM leonardo_kz_ru.leo_index AS li LEFT JOIN leonardo_kz_ru.leo_index_lang AS lil ON li.index_id=lil.index_id AND lil.lang="kz" WHERE li.index_id=2; # Num rows 1Run time:Time of run:0.00021696090698242

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

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



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

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

SELECT IFNULL(NULLIF(t3.treename,""), t1.treename) AS treename, t2.treetype,IFNULL(NULLIF(t3.tree_description,""), t2.tree_description) AS tree_description,IFNULL(NULLIF(t3.tree_meta_description,""), t2.tree_meta_description) AS tree_meta_description, t1.shop_tree_id,t1.level1,t1.level2,t1.level3,t1.relatedtree, IFNULL(NULLIF(t3.titletag,""), t2.titletag) AS titletag,IFNULL(NULLIF(t3.tree_notice,""), t2.tree_notice) AS tree_notice,IFNULL(NULLIF(t3.h1tag,""), t2.h1tag) AS h1tag,t2.maintitledisable,IFNULL(NULLIF(t3.tree_meta_key,""), t2.tree_meta_key) AS tree_meta_key,t2.id_tree_canonical,t2.noindex, t2.submenuhide FROM leo_tree AS t1 LEFT JOIN leo_tree_description AS t2 ON t1.id_tree=t2.tree_id LEFT JOIN leo_tree_lang AS t3 ON t1.id_tree=t3.id_tree AND t3.lang="kz" WHERE t1.id_tree=1436906062 # Num rows 1Run time:Time of run:0.00028300285339355



SELECT t1.id_tree,IFNULL(NULLIF(lt1.treename,""),t1.treename) as treename, t2.id_tree,IFNULL(NULLIF(lt2.treename,""),t2.treename) as treename, t3.id_tree,IFNULL(NULLIF(lt3.treename,""),t3.treename) as treename, t4.id_tree,IFNULL(NULLIF(lt4.treename,""),t4.treename) as treename, t5.id_tree,IFNULL(NULLIF(lt5.treename,""),t5.treename) as treename FROM leo_tree AS t1 LEFT JOIN leo_tree AS t2 ON t1.shop_tree_id=t2.id_tree LEFT JOIN leo_tree AS t3 ON t2.shop_tree_id=t3.id_tree LEFT JOIN leo_tree AS t4 ON t3.shop_tree_id=t4.id_tree LEFT JOIN leo_tree AS t5 ON t4.shop_tree_id=t5.id_tree LEFT JOIN leo_tree_lang AS lt1 ON t1.id_tree = lt1.id_tree AND lt1.lang = "kz" LEFT JOIN leo_tree_lang AS lt2 ON t2.id_tree = lt2.id_tree AND lt2.lang = "kz" LEFT JOIN leo_tree_lang AS lt3 ON t3.id_tree = lt3.id_tree AND lt3.lang = "kz" LEFT JOIN leo_tree_lang AS lt4 ON t4.id_tree = lt4.id_tree AND lt4.lang = "kz" LEFT JOIN leo_tree_lang AS lt5 ON t5.id_tree = lt5.id_tree AND lt5.lang = "kz" WHERE t1.id_tree=1436906062 # Num rows 1Run time:Time of run:0.00029587745666504



SELECT SQL_NO_CACHE t1.id_tree,IFNULL(NULLIF(lt1.treename,""),t1.treename) as treename,t1.level1,t1.relatedtree,t1.id_good_param,t1.id_detail_param, ltd.submenuhide FROM leo_tree AS t1 LEFT JOIN leo_tree_description AS ltd ON t1.id_tree = ltd.tree_id LEFT JOIN leo_tree_cities AS t2 ON (t2.id_tree = t1.id_tree AND t2.id_city=46 AND t2.filter_id=0) LEFT JOIN leo_tree_lang AS lt1 ON t1.id_tree=lt1.id_tree AND lt1.lang="kz" WHERE t1.shop_tree_id=1436906062 AND t1.visible=1 AND (t2.filter_id IS NULL OR t1.relatedtree!=0) ORDER BY t1.pos # Num rows 9Run time:Time of run:0.00041604042053223

SELECT SQL_NO_CACHE t1.id_tree,IFNULL(NULLIF(ltl.treename,""),t1.treename) as treename,t1.relatedtree FROM leo_tree AS t1 LEFT JOIN leo_tree_cities AS t2 ON (t2.id_tree = t1.id_tree AND t2.id_city=46 AND t2.filter_id=0) LEFT JOIN leo_tree_lang AS ltl ON t1.id_tree = ltl.id_tree AND ltl.lang="kz" WHERE t1.shop_tree_id=1436912262 AND t1.visible=1 AND (t2.filter_id IS NULL OR t1.relatedtree!=0) ORDER BY t1.pos # Num rows 10Run time:Time of run:0.00033187866210938

SELECT SQL_NO_CACHE t1.id_tree,IFNULL(NULLIF(ltl.treename,""),t1.treename) as treename,t1.relatedtree FROM leo_tree AS t1 LEFT JOIN leo_tree_cities AS t2 ON (t2.id_tree = t1.id_tree AND t2.id_city=46 AND t2.filter_id=0) LEFT JOIN leo_tree_lang AS ltl ON t1.id_tree = ltl.id_tree AND ltl.lang="kz" WHERE t1.shop_tree_id=1437375562 AND t1.visible=1 AND (t2.filter_id IS NULL OR t1.relatedtree!=0) ORDER BY t1.pos # Num rows 2Run time:Time of run:0.00024080276489258

SELECT SQL_NO_CACHE t1.id_tree,IFNULL(NULLIF(ltl.treename,""),t1.treename) as treename,t1.relatedtree FROM leo_tree AS t1 LEFT JOIN leo_tree_cities AS t2 ON (t2.id_tree = t1.id_tree AND t2.id_city=46 AND t2.filter_id=0) LEFT JOIN leo_tree_lang AS ltl ON t1.id_tree = ltl.id_tree AND ltl.lang="kz" WHERE t1.shop_tree_id=1444512762 AND t1.visible=1 AND (t2.filter_id IS NULL OR t1.relatedtree!=0) ORDER BY t1.pos # Num rows 0Run time:Time of run:0.00022101402282715

SELECT SQL_NO_CACHE t1.id_tree,IFNULL(NULLIF(ltl.treename,""),t1.treename) as treename,t1.relatedtree FROM leo_tree AS t1 LEFT JOIN leo_tree_cities AS t2 ON (t2.id_tree = t1.id_tree AND t2.id_city=46 AND t2.filter_id=0) LEFT JOIN leo_tree_lang AS ltl ON t1.id_tree = ltl.id_tree AND ltl.lang="kz" WHERE t1.shop_tree_id=9538924545 AND t1.visible=1 AND (t2.filter_id IS NULL OR t1.relatedtree!=0) ORDER BY t1.pos # Num rows 0Run time:Time of run:0.00024700164794922

SELECT SQL_NO_CACHE t1.id_tree,IFNULL(NULLIF(ltl.treename,""),t1.treename) as treename,t1.relatedtree FROM leo_tree AS t1 LEFT JOIN leo_tree_cities AS t2 ON (t2.id_tree = t1.id_tree AND t2.id_city=46 AND t2.filter_id=0) LEFT JOIN leo_tree_lang AS ltl ON t1.id_tree = ltl.id_tree AND ltl.lang="kz" WHERE t1.shop_tree_id=1499538862 AND t1.visible=1 AND (t2.filter_id IS NULL OR t1.relatedtree!=0) ORDER BY t1.pos # Num rows 0Run time:Time of run:0.00021696090698242

SELECT SQL_NO_CACHE t1.id_tree,IFNULL(NULLIF(ltl.treename,""),t1.treename) as treename,t1.relatedtree FROM leo_tree AS t1 LEFT JOIN leo_tree_cities AS t2 ON (t2.id_tree = t1.id_tree AND t2.id_city=46 AND t2.filter_id=0) LEFT JOIN leo_tree_lang AS ltl ON t1.id_tree = ltl.id_tree AND ltl.lang="kz" WHERE t1.shop_tree_id=1437535962 AND t1.visible=1 AND (t2.filter_id IS NULL OR t1.relatedtree!=0) ORDER BY t1.pos # Num rows 0Run time:Time of run:0.0001990795135498

SELECT SQL_NO_CACHE t1.id_tree,IFNULL(NULLIF(ltl.treename,""),t1.treename) as treename,t1.relatedtree FROM leo_tree AS t1 LEFT JOIN leo_tree_cities AS t2 ON (t2.id_tree = t1.id_tree AND t2.id_city=46 AND t2.filter_id=0) LEFT JOIN leo_tree_lang AS ltl ON t1.id_tree = ltl.id_tree AND ltl.lang="kz" WHERE t1.shop_tree_id=9538925618 AND t1.visible=1 AND (t2.filter_id IS NULL OR t1.relatedtree!=0) ORDER BY t1.pos # Num rows 4Run time:Time of run:0.00027203559875488

SELECT SQL_NO_CACHE t1.id_tree,IFNULL(NULLIF(ltl.treename,""),t1.treename) as treename,t1.relatedtree FROM leo_tree AS t1 LEFT JOIN leo_tree_cities AS t2 ON (t2.id_tree = t1.id_tree AND t2.id_city=46 AND t2.filter_id=0) LEFT JOIN leo_tree_lang AS ltl ON t1.id_tree = ltl.id_tree AND ltl.lang="kz" WHERE t1.shop_tree_id=9538924870 AND t1.visible=1 AND (t2.filter_id IS NULL OR t1.relatedtree!=0) ORDER BY t1.pos # Num rows 0Run time:Time of run:0.00025796890258789

SELECT SQL_NO_CACHE t1.id_tree,IFNULL(NULLIF(ltl.treename,""),t1.treename) as treename,t1.relatedtree FROM leo_tree AS t1 LEFT JOIN leo_tree_cities AS t2 ON (t2.id_tree = t1.id_tree AND t2.id_city=46 AND t2.filter_id=0) LEFT JOIN leo_tree_lang AS ltl ON t1.id_tree = ltl.id_tree AND ltl.lang="kz" WHERE t1.shop_tree_id=9538925331 AND t1.visible=1 AND (t2.filter_id IS NULL OR t1.relatedtree!=0) ORDER BY t1.pos # Num rows 0Run time:Time of run:0.00022506713867188



SELECT new_link FROM leo_canonical WHERE old_link = "/ishop/tree_1436906062/" AND active = 1 # Num rows 0Run time:Time of run:0.00016307830810547

SELECT SQL_NO_CACHE sub.* FROM (SELECT t1.id_good,t1.oncedetail,t1.cardtype,t1.goodrating FROM leo_goods AS t1 WHERE t1.levelone = 1436906062 ORDER BY t1.goodrating DESC LIMIT 200) AS sub ORDER BY RAND() LIMIT 100 # Num rows 100Run time:Time of run:0.0093629360198975

SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d9056073162' # Num rows 1Run time:Time of run:0.00020194053649902

SELECT id_city, dep_id FROM leo_shops WHERE work = 1 # Num rows 144Run time:Time of run:0.00041413307189941

SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d20804292592' # Num rows 1Run time:Time of run:0.00016307830810547

SELECT * FROM leo_actions AS t1 WHERE t1.visible=1 AND t1.startaction<NOW() AND t1.endaction>NOW() AND (t1.region=0 || t1.region=3) # Num rows 9Run time:Time of run:0.00055384635925293

SELECT id_good FROM leo_goods_params WHERE id_param=-5 AND value="Семь дней выгоды" # Num rows 97Run time:Time of run:0.00037479400634766

SELECT client_id FROM leo_clients_unregistered WHERE register_code='ab27d2cf65d91761d491714d7f7bba0e9bf4f2b6' # Num rows 0Run time:Time of run:0.00088405609130859

INSERT INTO leo_clients_unregistered (register_code,last_login) VALUES ('ab27d2cf65d91761d491714d7f7bba0e9bf4f2b6',1726039915) # Num rows 1Run time:Time of run:0.00024795532226562

SELECT client_id FROM leo_clients_unregistered WHERE register_code='ab27d2cf65d91761d491714d7f7bba0e9bf4f2b6' # Num rows 1Run time:Time of run:0.00019192695617676

SELECT t1.id,t1.discount_id,t1.discount_value,t1.discountprice_value,t1.discount_from,t1.discountcode,t1.discount_start,t2.discount_description,t2.discount_type FROM leo_clients_discounts_unregistered AS t1 LEFT JOIN leo_discounts AS t2 ON t1.discount_id=t2.discount_id WHERE t1.client_id=552760385 AND t1.discount_start<NOW() AND t1.discount_end>NOW(); # Num rows 0Run time:Time of run:0.00023007392883301

SELECT value FROM leo_reviews_onpages WHERE id_good=20804289052; # Num rows 1Run time:Time of run:0.00018501281738281

SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 20804289052 AND `status` = 1 # Num rows 0Run time:Time of run:0.00016689300537109

SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='g21902735372' # Num rows 1Run time:Time of run:0.00017690658569336

SELECT value FROM leo_reviews_onpages WHERE id_good=21902735372; # Num rows 1Run time:Time of run:0.00015497207641602

SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 21902735372 AND `status` = 1 # Num rows 0Run time:Time of run:0.00014710426330566

SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d58377667872' # Num rows 1Run time:Time of run:0.00018811225891113

SELECT value FROM leo_reviews_onpages WHERE id_good=58377667462; # Num rows 1Run time:Time of run:0.00013899803161621

SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 58377667462 AND `status` = 1 # Num rows 0Run time:Time of run:0.00015401840209961

SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d59658216702' # Num rows 1Run time:Time of run:0.00017786026000977

SELECT value FROM leo_reviews_onpages WHERE id_good=59658216392; # Num rows 1Run time:Time of run:0.00013399124145508

SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 59658216392 AND `status` = 1 # Num rows 0Run time:Time of run:0.00014996528625488

SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d72652070384' # Num rows 1Run time:Time of run:0.00018095970153809

SELECT value FROM leo_reviews_onpages WHERE id_good=72652069184; # Num rows 1Run time:Time of run:0.00015592575073242

SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 72652069184 AND `status` = 1 # Num rows 0Run time:Time of run:0.00015592575073242

SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d67746278374' # Num rows 1Run time:Time of run:0.00018000602722168

SELECT value FROM leo_reviews_onpages WHERE id_good=67730022494; # Num rows 1Run time:Time of run:0.00013303756713867

SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 67730022494 AND `status` = 1 # Num rows 0Run time:Time of run:0.00014019012451172

SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='g431661591' # Num rows 1Run time:Time of run:0.00015497207641602

SELECT value FROM leo_reviews_onpages WHERE id_good=431661591; # Num rows 1Run time:Time of run:0.00015592575073242

SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 431661591 AND `status` = 1 # Num rows 0Run time:Time of run:0.00018191337585449

SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d116431977294' # Num rows 1Run time:Time of run:0.00018000602722168

SELECT value FROM leo_reviews_onpages WHERE id_good=116431976224; # Num rows 1Run time:Time of run:0.00014185905456543

SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 116431976224 AND `status` = 1 # Num rows 0Run time:Time of run:0.00015401840209961

SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='g3176752032' # Num rows 1Run time:Time of run:0.00014877319335938

SELECT value FROM leo_reviews_onpages WHERE id_good=3176752032; # Num rows 1Run time:Time of run:0.0001671314239502

SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 3176752032 AND `status` = 1 # Num rows 0Run time:Time of run:0.0001530647277832

SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='g20066069782' # Num rows 1Run time:Time of run:0.00015902519226074

SELECT value FROM leo_reviews_onpages WHERE id_good=20066069782; # Num rows 1Run time:Time of run:0.00013899803161621

SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 20066069782 AND `status` = 1 # Num rows 0Run time:Time of run:0.00014281272888184

SELECT SQL_NO_CACHE t1.id_good,t1.oncedetail,t1.cardtype FROM leo_goods AS t1 LEFT JOIN leo_goods_params AS t2 ON t1.id_good = t2.id_good WHERE t2.id_param = -5 AND (t2.value IN ("Семь дней выгоды", "Распродажа РФ")) AND t1.levelone = 1436906062 ORDER BY RAND() LIMIT 100 # Num rows 100Run time:Time of run:0.013125896453857

SELECT value FROM leo_reviews_onpages WHERE id_good=53027984952; # Num rows 1Run time:Time of run:0.00021982192993164

SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 53027984952 AND `status` = 1 # Num rows 0Run time:Time of run:0.00017690658569336

SELECT value FROM leo_reviews_onpages WHERE id_good=24332257572; # Num rows 1Run time:Time of run:0.0001521110534668

SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 24332257572 AND `status` = 1 # Num rows 0Run time:Time of run:0.0001368522644043

SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d73255014404' # Num rows 1Run time:Time of run:0.00017213821411133

SELECT value FROM leo_reviews_onpages WHERE id_good=65707321754; # Num rows 1Run time:Time of run:0.00014686584472656

SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 65707321754 AND `status` = 1 # Num rows 0Run time:Time of run:0.00014281272888184

SELECT value FROM leo_reviews_onpages WHERE id_good=65690639604; # Num rows 1Run time:Time of run:0.00014996528625488

SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 65690639604 AND `status` = 1 # Num rows 0Run time:Time of run:0.00019717216491699

SELECT value FROM leo_reviews_onpages WHERE id_good=95670120464; # Num rows 1Run time:Time of run:0.00015401840209961

SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 95670120464 AND `status` = 1 # Num rows 0Run time:Time of run:0.00014090538024902

SELECT value FROM leo_reviews_onpages WHERE id_good=24332192522; # Num rows 1Run time:Time of run:0.00014305114746094

SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 24332192522 AND `status` = 1 # Num rows 0Run time:Time of run:0.00015997886657715

SELECT value FROM leo_reviews_onpages WHERE id_good=71572647654; # Num rows 1Run time:Time of run:0.00017499923706055

SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 71572647654 AND `status` = 1 # Num rows 0Run time:Time of run:0.00016283988952637

SELECT value FROM leo_reviews_onpages WHERE id_good=58354258952; # Num rows 1Run time:Time of run:0.00015497207641602

SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 58354258952 AND `status` = 1 # Num rows 0Run time:Time of run:0.00016212463378906

SELECT value FROM leo_reviews_onpages WHERE id_good=99696477444; # Num rows 1Run time:Time of run:0.00015711784362793

SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 99696477444 AND `status` = 1 # Num rows 0Run time:Time of run:0.00015497207641602

SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d68905638644' # Num rows 1Run time:Time of run:0.00019717216491699

SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d7073418912' # Num rows 1Run time:Time of run:0.00021791458129883

SELECT value FROM leo_reviews_onpages WHERE id_good=23684234212; # Num rows 1Run time:Time of run:0.0001828670501709

SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 23684234212 AND `status` = 1 # Num rows 0Run time:Time of run:0.00018620491027832

SELECT lg.id_good, lnd.detail_id, lg.cardtype FROM leo_goods lg,leo_details ld, leo_newdetails lnd WHERE lg.id_good = ld.id_good AND ld.id_detail = lnd.detail_id AND lnd.newtime >= DATE_SUB(NOW(), INTERVAL 60 DAY) AND lg.levelone = 1436906062 GROUP BY lg.id_good ORDER BY RAND() # Num rows 4Run time:Time of run:0.021835088729858

SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d116922486734' # Num rows 1Run time:Time of run:0.00024700164794922

SELECT value FROM leo_reviews_onpages WHERE id_good=116922484544; # Num rows 1Run time:Time of run:0.00097799301147461

SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 116922484544 AND `status` = 1 # Num rows 0Run time:Time of run:0.00020980834960938

SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d91761404144' # Num rows 1Run time:Time of run:0.00020813941955566

SELECT value FROM leo_reviews_onpages WHERE id_good=91761402384; # Num rows 1Run time:Time of run:0.00096321105957031

SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 91761402384 AND `status` = 1 # Num rows 0Run time:Time of run:0.0001680850982666

SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d135803516304' # Num rows 1Run time:Time of run:0.00018811225891113

SELECT card FROM leonardo_kz_test.leo_goods_cards_kz WHERE cardid='d91762444454' # Num rows 1Run time:Time of run:0.00017094612121582

SELECT value FROM leo_reviews_onpages WHERE id_good=91762443024; # Num rows 1Run time:Time of run:0.00015592575073242

SELECT `rating` FROM `leo_reviews` WHERE `good_id` = 91762443024 AND `status` = 1 # Num rows 0Run time:Time of run:0.00023794174194336

SELECT t2.id, t1.value FROM leo_goods_params AS t1 LEFT JOIN leo_filter_values AS t2 ON (t1.value=t2.value) LEFT JOIN leo_goods AS t3 ON (t1.id_good=t3.id_good) WHERE (t1.id_param=19) AND t2.id IS NOT NULL AND t3.id_good IS NOT NULL AND t2.id IN (2,724,13619,1,145,6,11,716,701,721,16482,60,20,781) GROUP BY t1.value ORDER BY RAND() # Num rows 13Run time:Time of run:0.083604097366333