Цена (руб.)
от  до
Производители

Искусственные елки 150 см

На странице:
Сортировка по
умолчанию

Быстрый просмотр

15 990 р.

Быстрый просмотр

11 120 р.
Queries: 314, Total time: 60.438 ms [By time] [By id] [By file]
1 (0.486)
SELECT *
FROM store
WHERE REPLACE(`url`, 'www.', '') = 'http://novelki.ru/'
/var/www/r2d2/data/www/novelki.ru/index.php:48
2 (2.822)
SELECT *
FROM setting
WHERE store_id = '0' OR store_id = '0'
ORDER BY store_id ASC
/var/www/r2d2/data/www/novelki.ru/index.php:58
3 (0.578)
SELECT *
FROM language
WHERE status = '1'
/var/www/r2d2/data/www/novelki.ru/index.php:137
4 (0.533)
SELECT *
FROM currency
/var/www/r2d2/data/www/novelki.ru/system/library/currency.php:13
5 (0.412)
SELECT *
FROM weight_class wc
/var/www/r2d2/data/www/novelki.ru/system/library/weight.php:9
6 (0.348)
SELECT *
FROM length_class mc
/var/www/r2d2/data/www/novelki.ru/system/library/length.php:9
7 (0.125)
SELECT *
FROM url_alias
WHERE keyword IN ('iskusstvennye-elki-150sm')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:22
8 (0.205)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
9 (0.430)
SELECT *
FROM category c
LEFT JOIN category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c2s.store_id = '0' AND c.status = '1'
ORDER BY c.parent_id, c.sort_order, c.name
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/category.php:16
10 (0.154)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
11 (0.185)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
12 (0.659)
SELECT COUNT(DISTINCT p.product_id) AS total
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE p.status = '1' AND p.date_available <= NOW() AND p2s.status = '1' AND p2s.store_id = '0' AND p2c.store_id = '0' AND p2c.category_id = '923'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:822
13 (0.164)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
14 (0.379)
SELECT DISTINCT p2c.category_id, c.name as name, c.image as image, c.parent_id, c1.name as name_parent
FROM product_to_category p2c
LEFT JOIN category c ON (p2c.category_id = c.category_id)
LEFT JOIN category c1 ON (c.parent_id = c1.category_id)
WHERE p2c.product_id IN ('1609','1670','1673','1694','1725','2254','14908','15343','72291','72295','72299','72308','72311','72314','72320','72328','72331','72339','72342','72592','72595','72598','72601','72604','72887','72940','72953','73043','73056','73186','73191','73196','73203','80020','80023','405754','405760','405764','405770','405773','405779','405784','405791','405795','405804') AND p2c.main_category='1' AND p2c.store_id = '0' GROUP BY p2c.category_id
ORDER BY c.sort_order, c1.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/manufacturer.php:90
15 (0.730)
SELECT p.product_id, IF(ps.price>0,ps.price,p.price) as su, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN product_special ps on ps.product_id=p.product_id
LEFT JOIN product_to_category p2c ON (p.product_id = p2c.product_id)
WHERE p.status = '1' AND p.date_available <= '2022-05-21' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0' AND p2c.category_id = '923'
ORDER BY p.sort_order ASC LIMIT 0,40
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:321
16 (0.522)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '15343' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
17 (0.369)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '72598' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
18 (0.368)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '72311' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
19 (0.361)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '405754' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
20 (0.358)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '72331' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
21 (0.369)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '73043' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
22 (0.359)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '14908' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
23 (0.362)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '405770' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
24 (0.360)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '72339' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
25 (0.356)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '73056' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
26 (0.361)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '405773' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
27 (0.354)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '72342' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
28 (0.357)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '73186' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
29 (0.359)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '72291' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
30 (0.362)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '405779' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
31 (0.368)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '72592' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
32 (0.365)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '73191' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
33 (0.349)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '72295' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
34 (0.389)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '405784' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
35 (0.416)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '72595' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
36 (0.405)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '73196' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
37 (0.360)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '72299' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
38 (0.361)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '405791' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
39 (0.436)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '1609' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
40 (0.393)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '73203' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
41 (0.392)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '72308' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
42 (0.410)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '405795' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
43 (0.390)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '72601' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
44 (0.384)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '1670' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
45 (0.380)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '80020' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
46 (0.380)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '405804' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
47 (0.385)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '72604' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
48 (0.385)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '1673' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
49 (0.384)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '80023' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
50 (0.420)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '72314' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
51 (0.385)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '72887' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
52 (0.375)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '1694' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
53 (0.420)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '72320' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
54 (0.348)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '72940' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
55 (0.390)
SELECT DISTINCT *, p.name AS name, p2s.seo_h1 AS p_seo_h1, p2s.description AS p_description, p2s.seo_title as p_seo_title, p2s.meta_description as p_meta_description, p2s.meta_keyword as p_meta_keyword, p.image, m.name AS manufacturer, c.name as country, p2c.category_id, (SELECT price
FROM product_discount pd2
WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW()))
ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price
FROM product_special ps
WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
ORDER BY ps.priority ASC, ps.price ASC LIMIT 1) AS special, (SELECT points
FROM product_reward pr
WHERE pr.product_id = p.product_id AND customer_group_id = '1') AS reward, (SELECT ss.name
FROM stock_status ss
WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wc.unit
FROM weight_class wc
WHERE p.weight_class_id = wc.weight_class_id ) AS weight_class, (SELECT lc.unit
FROM length_class lc
WHERE p.length_class_id = lc.length_class_id ) AS length_class, (SELECT AVG(rating) AS total
FROM review r1
WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT COUNT(*) AS total
FROM review r2
WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order
FROM product p
LEFT JOIN product_to_store p2s ON (p.product_id = p2s.product_id)
LEFT JOIN manufacturer m ON (p.manufacturer_id = m.manufacturer_id)
LEFT JOIN product_to_category p2c ON (p2c.product_id = p.product_id)
LEFT JOIN country c ON (c.country_id = m.country_id)
WHERE p.product_id = '1725' AND p.date_available <= '2022-05-21' AND p2c.main_category='1' AND p.status = '1' AND p2s.store_id = '0' AND p2s.status='1' AND p2c.store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:111
56 (0.151)
SELECT *
FROM product_image
WHERE product_id = '15343'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
57 (0.252)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '15343'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
58 (0.229)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=15343')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
59 (0.093)
SELECT *
FROM product_image
WHERE product_id = '72598'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
60 (0.187)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '72598'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
61 (0.230)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=72598')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
62 (0.106)
SELECT *
FROM product_image
WHERE product_id = '72311'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
63 (0.187)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '72311'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
64 (0.226)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=72311')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
65 (0.126)
SELECT *
FROM product_image
WHERE product_id = '405754'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
66 (0.188)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '405754'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
67 (0.215)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=405754')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
68 (0.064)
SELECT *
FROM product_image
WHERE product_id = '72331'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
69 (0.201)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '72331'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
70 (0.217)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=72331')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
71 (0.064)
SELECT *
FROM product_image
WHERE product_id = '73043'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
72 (0.190)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '73043'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
73 (0.225)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=73043')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
74 (0.092)
SELECT *
FROM product_image
WHERE product_id = '14908'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
75 (0.190)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '14908'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
76 (0.196)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=14908')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
77 (0.065)
SELECT *
FROM product_image
WHERE product_id = '405770'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
78 (0.150)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '405770'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
79 (0.185)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=405770')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
80 (0.059)
SELECT *
FROM product_image
WHERE product_id = '72339'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
81 (0.188)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '72339'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
82 (0.222)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=72339')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
83 (0.096)
SELECT *
FROM product_image
WHERE product_id = '73056'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
84 (0.147)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '73056'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
85 (0.190)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=73056')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
86 (0.106)
SELECT *
FROM product_image
WHERE product_id = '405773'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
87 (0.188)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '405773'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
88 (0.188)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=405773')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
89 (0.062)
SELECT *
FROM product_image
WHERE product_id = '72342'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
90 (0.198)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '72342'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
91 (0.217)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=72342')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
92 (0.091)
SELECT *
FROM product_image
WHERE product_id = '73186'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
93 (0.149)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '73186'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
94 (0.223)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=73186')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
95 (0.093)
SELECT *
FROM product_image
WHERE product_id = '72291'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
96 (0.149)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '72291'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
97 (0.188)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=72291')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
98 (0.108)
SELECT *
FROM product_image
WHERE product_id = '405779'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
99 (0.180)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '405779'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
100 (0.213)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=405779')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
101 (0.060)
SELECT *
FROM product_image
WHERE product_id = '72592'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
102 (0.220)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '72592'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
103 (0.187)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=72592')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
104 (0.081)
SELECT *
FROM product_image
WHERE product_id = '73191'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
105 (0.143)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '73191'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
106 (0.181)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=73191')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
107 (0.101)
SELECT *
FROM product_image
WHERE product_id = '72295'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
108 (0.144)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '72295'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
109 (0.189)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=72295')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
110 (0.057)
SELECT *
FROM product_image
WHERE product_id = '405784'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
111 (0.152)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '405784'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
112 (0.184)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=405784')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
113 (0.061)
SELECT *
FROM product_image
WHERE product_id = '72595'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
114 (0.144)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '72595'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
115 (0.188)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=72595')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
116 (0.053)
SELECT *
FROM product_image
WHERE product_id = '73196'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
117 (0.170)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '73196'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
118 (0.185)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=73196')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
119 (0.061)
SELECT *
FROM product_image
WHERE product_id = '72299'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
120 (0.145)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '72299'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
121 (0.243)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=72299')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
122 (0.090)
SELECT *
FROM product_image
WHERE product_id = '405791'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
123 (0.144)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '405791'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
124 (0.187)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=405791')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
125 (0.064)
SELECT *
FROM product_image
WHERE product_id = '1609'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
126 (0.144)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '1609'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
127 (0.190)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=1609')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
128 (0.052)
SELECT *
FROM product_image
WHERE product_id = '73203'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
129 (0.142)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '73203'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
130 (0.254)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=73203')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
131 (0.091)
SELECT *
FROM product_image
WHERE product_id = '72308'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
132 (0.175)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '72308'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
133 (0.189)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=72308')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
134 (0.129)
SELECT *
FROM product_image
WHERE product_id = '405795'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
135 (0.178)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '405795'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
136 (0.212)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=405795')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
137 (0.059)
SELECT *
FROM product_image
WHERE product_id = '72601'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
138 (0.219)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '72601'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
139 (0.214)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=72601')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
140 (0.067)
SELECT *
FROM product_image
WHERE product_id = '1670'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
141 (0.145)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '1670'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
142 (0.227)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=1670')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
143 (0.092)
SELECT *
FROM product_image
WHERE product_id = '80020'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
144 (0.185)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '80020'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
145 (0.171)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=80020')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
146 (0.079)
SELECT *
FROM product_image
WHERE product_id = '405804'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
147 (0.148)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '405804'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
148 (0.186)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=405804')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
149 (0.063)
SELECT *
FROM product_image
WHERE product_id = '72604'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
150 (0.146)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '72604'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
151 (0.230)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=72604')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
152 (0.094)
SELECT *
FROM product_image
WHERE product_id = '1673'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
153 (0.185)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '1673'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
154 (0.234)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=1673')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
155 (0.102)
SELECT *
FROM product_image
WHERE product_id = '80023'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
156 (0.178)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '80023'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
157 (0.170)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=80023')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
158 (0.062)
SELECT *
FROM product_image
WHERE product_id = '72314'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
159 (0.179)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '72314'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
160 (0.213)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=72314')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
161 (0.057)
SELECT *
FROM product_image
WHERE product_id = '72887'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
162 (0.146)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '72887'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
163 (0.224)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=72887')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
164 (0.090)
SELECT *
FROM product_image
WHERE product_id = '1694'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
165 (0.172)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '1694'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
166 (0.190)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=1694')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
167 (0.061)
SELECT *
FROM product_image
WHERE product_id = '72320'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
168 (0.147)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '72320'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
169 (0.214)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=72320')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
170 (0.063)
SELECT *
FROM product_image
WHERE product_id = '72940'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
171 (0.145)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '72940'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
172 (0.212)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=72940')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
173 (0.087)
SELECT *
FROM product_image
WHERE product_id = '1725'
ORDER BY sort_order ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:656
174 (0.145)
SELECT *
FROM product_option po
LEFT JOIN `option` o ON (po.option_id = o.option_id)
WHERE po.product_id = '1725'
ORDER BY o.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/product.php:604
175 (0.237)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923', 'product_id=1725')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
176 (0.168)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
177 (0.156)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
178 (0.129)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
179 (0.129)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
180 (0.126)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
181 (0.131)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
182 (0.087)
SELECT *
FROM category_to_layout
WHERE category_id = '923' AND store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/category.php:87
183 (0.090)
SELECT *
FROM layout_route
WHERE 'product/category' LIKE CONCAT(route, '%') AND store_id = '0'
ORDER BY route ASC LIMIT 1
/var/www/r2d2/data/www/novelki.ru/catalog/model/design/layout.php:4
184 (0.095)
SELECT *
FROM extension
WHERE `type` = 'module'
/var/www/r2d2/data/www/novelki.ru/catalog/model/setting/extension.php:4
185 (0.038)
SELECT *
FROM category_to_layout
WHERE category_id = '923' AND store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/category.php:87
186 (0.053)
SELECT *
FROM layout_route
WHERE 'product/category' LIKE CONCAT(route, '%') AND store_id = '0'
ORDER BY route ASC LIMIT 1
/var/www/r2d2/data/www/novelki.ru/catalog/model/design/layout.php:4
187 (0.064)
SELECT *
FROM extension
WHERE `type` = 'module'
/var/www/r2d2/data/www/novelki.ru/catalog/model/setting/extension.php:4
188 (0.195)
SELECT a.name, a.attribute_id,pa.attribute_value_id
FROM attribute a
LEFT JOIN product_attribute pa on pa.attribute_id=a.attribute_id
WHERE a.use_in_filter='1' and pa.store_id='0' and pa.product_id IN('1609','1670','1673','1694','1725','2254','14908','15343','72291','72295','72299','72308','72311','72314','72320','72328','72331','72339','72342','72592','72595','72598','72601','72604','72887','72940','72953','73043','73056','73186','73191','73196','73203','80020','80023','405754','405760','405764','405770','405773','405779','405784','405791','405795','405804') group by a.attribute_id
/var/www/r2d2/data/www/novelki.ru/catalog/model/module/filter.php:12
189 (0.450)
SELECT (IF(min(ps.price)>0 and min(ps.price)as min, (IF(max(ps.price)>0 and max(ps.price)>max(p.price),max(ps.price),Max( p.price ))) as max
FROM product p
LEFT JOIN product_special ps on ps.product_id=p.product_id
LEFT JOIN product_to_store p2s on p2s.product_id=p.product_id
left join manufacturer m on m.manufacturer_id=p.manufacturer_id
where p.product_id IN('1609','1670','1673','1694','1725','2254','14908','15343','72291','72295','72299','72308','72311','72314','72320','72328','72331','72339','72342','72592','72595','72598','72601','72604','72887','72940','72953','73043','73056','73186','73191','73196','73203','80020','80023','405754','405760','405764','405770','405773','405779','405784','405791','405795','405804') and p2s.status = '1' and p2s.store_id='0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/module/filter.php:12
190 (0.436)
SELECT (IF(min(ps.price)>0 and min(ps.price)as min, (IF(max(ps.price)>0 and max(ps.price)>max(p.price),max(ps.price),Max( p.price ))) as max
FROM product p
LEFT JOIN product_special ps on ps.product_id=p.product_id
LEFT JOIN product_to_store p2s on p2s.product_id=p.product_id
left join manufacturer m on m.manufacturer_id=p.manufacturer_id
where p.product_id IN('1609','1670','1673','1694','1725','2254','14908','15343','72291','72295','72299','72308','72311','72314','72320','72328','72331','72339','72342','72592','72595','72598','72601','72604','72887','72940','72953','73043','73056','73186','73191','73196','73203','80020','80023','405754','405760','405764','405770','405773','405779','405784','405791','405795','405804') and p2s.status = '1' and p2s.store_id='0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/module/filter.php:12
191 (0.194)
SELECT *
FROM category c
LEFT JOIN category_to_store c2s ON (c.category_id = c2s.category_id)
WHERE c2s.store_id = '0' AND c.status = '1' AND c.top='1'
ORDER BY c.parent_id, c.sort_order, c.name
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/category.php:114
192 (0.169)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=922')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
193 (0.159)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
194 (0.127)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=924')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
195 (0.129)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=925')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
196 (0.128)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=926')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
197 (0.155)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=927')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
198 (0.128)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=928')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
199 (0.127)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=929')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
200 (0.185)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=932')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
201 (0.152)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=934')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
202 (0.129)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=922')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
203 (0.197)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
204 (0.167)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=924')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
205 (0.155)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=925')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
206 (0.129)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=926')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
207 (0.128)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=927')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
208 (0.168)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=928')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
209 (0.166)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=929')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
210 (0.154)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=932')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
211 (0.129)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=934')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
212 (0.128)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=922')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
213 (0.167)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
214 (0.158)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=924')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
215 (0.153)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=925')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
216 (0.129)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=926')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
217 (0.127)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=927')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
218 (0.127)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=928')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
219 (0.129)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=929')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
220 (0.127)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=932')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
221 (0.128)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=934')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
222 (0.127)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=922')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
223 (0.127)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
224 (0.127)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=924')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
225 (0.166)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=925')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
226 (0.157)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=926')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
227 (0.154)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=927')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
228 (0.127)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=928')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
229 (0.128)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=929')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
230 (0.185)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=932')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
231 (0.169)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=934')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
232 (0.156)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=922')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
233 (0.153)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
234 (0.129)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=924')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
235 (0.178)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=925')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
236 (0.166)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=926')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
237 (0.156)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=927')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
238 (0.152)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=928')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
239 (0.129)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=929')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
240 (0.192)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=932')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
241 (0.165)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=934')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
242 (0.159)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=922')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
243 (0.153)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
244 (0.128)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=924')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
245 (0.171)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=925')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
246 (0.164)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=926')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
247 (0.157)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=927')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
248 (0.154)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=928')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
249 (0.128)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=929')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
250 (0.131)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=932')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
251 (0.128)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=934')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
252 (0.039)
SELECT *
FROM category_to_layout
WHERE category_id = '923' AND store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/category.php:87
253 (0.056)
SELECT *
FROM layout_route
WHERE 'product/category' LIKE CONCAT(route, '%') AND store_id = '0'
ORDER BY route ASC LIMIT 1
/var/www/r2d2/data/www/novelki.ru/catalog/model/design/layout.php:4
254 (0.061)
SELECT *
FROM extension
WHERE `type` = 'module'
/var/www/r2d2/data/www/novelki.ru/catalog/model/setting/extension.php:4
255 (0.036)
SELECT *
FROM category_to_layout
WHERE category_id = '923' AND store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/category.php:87
256 (0.051)
SELECT *
FROM layout_route
WHERE 'product/category' LIKE CONCAT(route, '%') AND store_id = '0'
ORDER BY route ASC LIMIT 1
/var/www/r2d2/data/www/novelki.ru/catalog/model/design/layout.php:4
257 (0.060)
SELECT *
FROM extension
WHERE `type` = 'module'
/var/www/r2d2/data/www/novelki.ru/catalog/model/setting/extension.php:4
258 (0.105)
SELECT DISTINCT layout_id
FROM layout_route
where store_id='0' AND route='product/category'
/var/www/r2d2/data/www/novelki.ru/catalog/model/module/banner_advanced.php:10
259 (0.260)
SELECT b.slider,b.slider_arrow,b.slider_button,bi.link,bi.image,bi.width,bi.height,bi.name
FROM banner_advanced_parts b
left join banner_advanced_image bi on bi.banner_advanced_image_id=b.banner_advanced_image_id
where b.layout_id='3' and b.part_id='923' and b.store_id='0' and (((bi.date_start<=CURDATE() or bi.date_start='0000-00-00') and (bi.date_end>=CURDATE() or bi.date_end='0000-00-00')) or (bi.date_start='0000-00-00' and bi.date_end='0000-00-00')) and b.position='header_top' and b.slider='0' and bi.status='1' and b.status='1'
ORDER BY b.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/module/banner_advanced.php:10
260 (0.117)
SELECT b.slider,b.slider_arrow,b.slider_button,bi.link,bi.image,bi.width,bi.height,bi.name
FROM banner_advanced_parts b
left join banner_advanced_image bi on bi.banner_advanced_image_id=b.banner_advanced_image_id
where b.layout_id='3' and b.part_id='923' and b.store_id='0' and (((bi.date_start<=CURDATE() or bi.date_start='0000-00-00') and (bi.date_end>=CURDATE() or bi.date_end='0000-00-00')) or (bi.date_start='0000-00-00' and bi.date_end='0000-00-00')) and b.position='header_top' and b.slider='1' and bi.status='1' and b.status='1'
ORDER BY b.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/module/banner_advanced.php:10
261 (0.108)
SELECT MAX(bi.width) as width,MAX(bi.height) as height
FROM banner_advanced_parts b
left join banner_advanced_image bi on bi.banner_advanced_image_id=b.banner_advanced_image_id
where b.layout_id='3' and b.part_id='923' and b.store_id='0' and (((bi.date_start<=CURDATE() or bi.date_start='0000-00-00') and (bi.date_end>=CURDATE() or bi.date_end='0000-00-00')) or (bi.date_start='0000-00-00' and bi.date_end='0000-00-00')) and b.position='header_top' and slider='1' and bi.status='1' and b.status='1'
/var/www/r2d2/data/www/novelki.ru/catalog/model/module/banner_advanced.php:10
262 (0.042)
SELECT *
FROM category_to_layout
WHERE category_id = '923' AND store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/category.php:87
263 (0.055)
SELECT *
FROM layout_route
WHERE 'product/category' LIKE CONCAT(route, '%') AND store_id = '0'
ORDER BY route ASC LIMIT 1
/var/www/r2d2/data/www/novelki.ru/catalog/model/design/layout.php:4
264 (0.070)
SELECT *
FROM extension
WHERE `type` = 'module'
/var/www/r2d2/data/www/novelki.ru/catalog/model/setting/extension.php:4
265 (0.082)
SELECT DISTINCT layout_id
FROM layout_route
where store_id='0' AND route='product/category'
/var/www/r2d2/data/www/novelki.ru/catalog/model/module/banner_advanced.php:10
266 (0.140)
SELECT b.slider,b.slider_arrow,b.slider_button,bi.link,bi.image,bi.width,bi.height,bi.name
FROM banner_advanced_parts b
left join banner_advanced_image bi on bi.banner_advanced_image_id=b.banner_advanced_image_id
where b.layout_id='3' and b.part_id='923' and b.store_id='0' and (((bi.date_start<=CURDATE() or bi.date_start='0000-00-00') and (bi.date_end>=CURDATE() or bi.date_end='0000-00-00')) or (bi.date_start='0000-00-00' and bi.date_end='0000-00-00')) and b.position='header_top_left' and b.slider='0' and bi.status='1' and b.status='1'
ORDER BY b.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/module/banner_advanced.php:10
267 (0.136)
SELECT b.slider,b.slider_arrow,b.slider_button,bi.link,bi.image,bi.width,bi.height,bi.name
FROM banner_advanced_parts b
left join banner_advanced_image bi on bi.banner_advanced_image_id=b.banner_advanced_image_id
where b.layout_id='3' and b.part_id='923' and b.store_id='0' and (((bi.date_start<=CURDATE() or bi.date_start='0000-00-00') and (bi.date_end>=CURDATE() or bi.date_end='0000-00-00')) or (bi.date_start='0000-00-00' and bi.date_end='0000-00-00')) and b.position='header_top_left' and b.slider='1' and bi.status='1' and b.status='1'
ORDER BY b.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/module/banner_advanced.php:10
268 (0.103)
SELECT MAX(bi.width) as width,MAX(bi.height) as height
FROM banner_advanced_parts b
left join banner_advanced_image bi on bi.banner_advanced_image_id=b.banner_advanced_image_id
where b.layout_id='3' and b.part_id='923' and b.store_id='0' and (((bi.date_start<=CURDATE() or bi.date_start='0000-00-00') and (bi.date_end>=CURDATE() or bi.date_end='0000-00-00')) or (bi.date_start='0000-00-00' and bi.date_end='0000-00-00')) and b.position='header_top_left' and slider='1' and bi.status='1' and b.status='1'
/var/www/r2d2/data/www/novelki.ru/catalog/model/module/banner_advanced.php:10
269 (0.042)
SELECT *
FROM category_to_layout
WHERE category_id = '923' AND store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/category.php:87
270 (0.055)
SELECT *
FROM layout_route
WHERE 'product/category' LIKE CONCAT(route, '%') AND store_id = '0'
ORDER BY route ASC LIMIT 1
/var/www/r2d2/data/www/novelki.ru/catalog/model/design/layout.php:4
271 (0.060)
SELECT *
FROM extension
WHERE `type` = 'module'
/var/www/r2d2/data/www/novelki.ru/catalog/model/setting/extension.php:4
272 (0.054)
SELECT DISTINCT layout_id
FROM layout_route
where store_id='0' AND route='product/category'
/var/www/r2d2/data/www/novelki.ru/catalog/model/module/banner_advanced.php:10
273 (0.111)
SELECT b.slider,b.slider_arrow,b.slider_button,bi.link,bi.image,bi.width,bi.height,bi.name
FROM banner_advanced_parts b
left join banner_advanced_image bi on bi.banner_advanced_image_id=b.banner_advanced_image_id
where b.layout_id='3' and b.part_id='923' and b.store_id='0' and (((bi.date_start<=CURDATE() or bi.date_start='0000-00-00') and (bi.date_end>=CURDATE() or bi.date_end='0000-00-00')) or (bi.date_start='0000-00-00' and bi.date_end='0000-00-00')) and b.position='content_top' and b.slider='0' and bi.status='1' and b.status='1'
ORDER BY b.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/module/banner_advanced.php:10
274 (0.108)
SELECT b.slider,b.slider_arrow,b.slider_button,bi.link,bi.image,bi.width,bi.height,bi.name
FROM banner_advanced_parts b
left join banner_advanced_image bi on bi.banner_advanced_image_id=b.banner_advanced_image_id
where b.layout_id='3' and b.part_id='923' and b.store_id='0' and (((bi.date_start<=CURDATE() or bi.date_start='0000-00-00') and (bi.date_end>=CURDATE() or bi.date_end='0000-00-00')) or (bi.date_start='0000-00-00' and bi.date_end='0000-00-00')) and b.position='content_top' and b.slider='1' and bi.status='1' and b.status='1'
ORDER BY b.sort_order
/var/www/r2d2/data/www/novelki.ru/catalog/model/module/banner_advanced.php:10
275 (0.101)
SELECT MAX(bi.width) as width,MAX(bi.height) as height
FROM banner_advanced_parts b
left join banner_advanced_image bi on bi.banner_advanced_image_id=b.banner_advanced_image_id
where b.layout_id='3' and b.part_id='923' and b.store_id='0' and (((bi.date_start<=CURDATE() or bi.date_start='0000-00-00') and (bi.date_end>=CURDATE() or bi.date_end='0000-00-00')) or (bi.date_start='0000-00-00' and bi.date_end='0000-00-00')) and b.position='content_top' and slider='1' and bi.status='1' and b.status='1'
/var/www/r2d2/data/www/novelki.ru/catalog/model/module/banner_advanced.php:10
276 (0.041)
SELECT *
FROM category_to_layout
WHERE category_id = '923' AND store_id = '0'
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/category.php:87
277 (0.054)
SELECT *
FROM layout_route
WHERE 'product/category' LIKE CONCAT(route, '%') AND store_id = '0'
ORDER BY route ASC LIMIT 1
/var/www/r2d2/data/www/novelki.ru/catalog/model/design/layout.php:4
278 (0.060)
SELECT *
FROM extension
WHERE `type` = 'module'
/var/www/r2d2/data/www/novelki.ru/catalog/model/setting/extension.php:4
279 (0.262)
SELECT *
FROM information i
LEFT JOIN information_to_store i2s ON (i.information_id = i2s.information_id)
WHERE i2s.store_id = '0' AND i.status = '1' AND i.sort_order <> '-1'
ORDER BY i.sort_order, LCASE(i.title) ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/information.php:12
280 (0.140)
SELECT *
FROM url_alias
WHERE `query` IN ('information_id=37')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
281 (0.129)
SELECT *
FROM url_alias
WHERE `query` IN ('information_id=35')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
282 (0.128)
SELECT *
FROM url_alias
WHERE `query` IN ('information_id=106')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
283 (0.127)
SELECT *
FROM url_alias
WHERE `query` IN ('information_id=13')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
284 (0.163)
SELECT *
FROM url_alias
WHERE `query` IN ('information_id=8')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
285 (0.152)
SELECT *
FROM url_alias
WHERE `query` IN ('information_id=9')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
286 (0.156)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=922')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
287 (0.127)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
288 (0.126)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=924')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
289 (0.125)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=925')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
290 (0.166)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=926')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
291 (0.157)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=927')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
292 (0.154)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=928')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
293 (0.126)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=929')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
294 (0.127)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=932')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
295 (0.186)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=934')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
296 (0.157)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=922')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
297 (0.155)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
298 (0.128)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=924')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
299 (0.126)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=925')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
300 (0.129)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=926')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
301 (0.126)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=927')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
302 (0.127)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=928')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
303 (0.126)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=929')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
304 (0.127)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=932')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
305 (0.127)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=934')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
306 (0.180)
SELECT *
FROM information i
LEFT JOIN information_to_store i2s ON (i.information_id = i2s.information_id)
WHERE i2s.store_id = '0' AND i.top = '1' AND i.status = '1' AND i.sort_order <> '-1'
ORDER BY i.sort_order, LCASE(i.title) ASC
/var/www/r2d2/data/www/novelki.ru/catalog/model/catalog/information.php:12
307 (0.175)
SELECT *
FROM url_alias
WHERE `query` IN ('information_id=37')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
308 (0.158)
SELECT *
FROM url_alias
WHERE `query` IN ('information_id=35')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
309 (0.128)
SELECT *
FROM url_alias
WHERE `query` IN ('information_id=8')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
310 (0.128)
SELECT *
FROM url_alias
WHERE `query` IN ('information_id=9')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
311 (0.132)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
312 (0.131)
SELECT *
FROM url_alias
WHERE `query` IN ('category_id=923')
/var/www/r2d2/data/www/novelki.ru/catalog/controller/common/seo_pro.php:181
313 (0.046)
SELECT *
FROM extension
WHERE `type` = 'total'
/var/www/r2d2/data/www/novelki.ru/catalog/model/setting/extension.php:4
314 (0.093)
SELECT *
FROM extension
WHERE `type` = 'total'
/var/www/r2d2/data/www/novelki.ru/catalog/model/setting/extension.php:4