0.4779169559 | UPDATE oc_product SET image ='' WHERE image IS NULL |
0.3241720200 | SELECT p.product_id, (SELECT AVG(rating) AS total FROM oc_review r1 WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating, (SELECT price FROM oc_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 oc_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, coalesce((SELECT price FROM oc_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), (SELECT price FROM oc_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), p.price) as realprice, p.quantity FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '3' GROUP BY p.product_id HAVING realprice >=-0.5 ORDER BY (p.quantity>0) DESC, p.sort_order ASC, LCASE(pd.name) ASC LIMIT 5970,15 |
0.0118060112 | SHOW TABLES LIKE 'oc_ocfilter_setting' |
0.0116720200 | UPDATE oc_category SET image ='' WHERE image IS NULL |
0.0109341145 | SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/theme/prostore' OR route = 'ru-ru') |
0.0100660324 | SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/theme/prostore' OR route = 'ru-ru') |
0.0100271702 | SELECT * FROM oc_product_image WHERE product_id = '502611' ORDER BY sort_order ASC |
0.0097830296 | SELECT * FROM oc_weight_class wc LEFT JOIN oc_weight_class_description wcd ON (wc.weight_class_id = wcd.weight_class_id) WHERE wcd.language_id = '1' |
0.0092589855 | SET time_zone = '+00:00' |
0.0067310333 | SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '0' AND (route = 'engb' OR route = '') |
0.0055840015 | SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '502582' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name |
0.0055079460 | SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0041511059 | SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '502611' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name |
0.0040230751 | SELECT * FROM oc_product_image WHERE product_id = '502563' ORDER BY sort_order ASC |
0.0038261414 | SELECT DISTINCT * FROM oc_category c LEFT JOIN oc_category_description cd ON (c.category_id = cd.category_id) LEFT JOIN oc_category_to_store c2s ON (c.category_id = c2s.category_id) WHERE c.category_id = '3' AND cd.language_id = '1' AND c2s.store_id = '0' AND c.status = '1' |
0.0037691593 | SELECT category_id, image, parent_id FROM oc_category WHERE image='' |
0.0037670135 | SELECT category_id, image, parent_id FROM oc_category WHERE image='' |
0.0035948753 | SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '502611' |
0.0033380985 | SELECT count(*) as c FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA='atlantcabel' AND TABLE_NAME='oc_category' AND COLUMN_NAME='noindex' |
0.0031778812 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0030260086 | SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_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 oc_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 oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_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 oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '510444' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' |
0.0028600693 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0028100014 | SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0027420521 | SELECT * FROM `oc_setting` WHERE store_id = '0' OR store_id = '0' ORDER BY store_id ASC |
0.0027379990 | SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '510376' ORDER BY cp.level DESC, ptc.category_id ASC |
0.0026998520 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0026080608 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0025060177 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0024781227 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0024728775 | SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_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 oc_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 oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_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 oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '510376' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' |
0.0024480820 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0024020672 | SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1'; |
0.0023300648 | DELETE FROM `oc_session` WHERE `expire` < '2025-08-01 13:55:42' |
0.0022931099 | SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '502611' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name |
0.0021729469 | SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'checkout/checkout' OR route = 'ru-ru') |
0.0020990372 | SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_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 oc_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 oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_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 oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '510480' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' |
0.0020039082 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0019090176 | SELECT * FROM oc_product_image WHERE product_id = '502645' ORDER BY sort_order ASC |
0.0018730164 | SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_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 oc_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 oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_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 oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '502563' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' |
0.0018029213 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0017850399 | SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_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 oc_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 oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_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 oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '502582' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' |
0.0017740726 | SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '502582' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name |
0.0017180443 | SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '502582' ORDER BY cp.level DESC, ptc.category_id ASC |
0.0016920567 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0016698837 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0016198158 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0016188622 | SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '502583' ORDER BY cp.level DESC, ptc.category_id ASC |
0.0016112328 | SELECT * FROM oc_product_image WHERE product_id = '502629' ORDER BY sort_order ASC |
0.0015718937 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0015418530 | SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '502612' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name |
0.0015399456 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0015149117 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0015020370 | SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '510480' ORDER BY cp.level DESC, ptc.category_id ASC |
0.0015008450 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0014579296 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0013580322 | SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '510444' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name |
0.0013580322 | SET time_zone = '+00:00' |
0.0013289452 | SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '502564' ORDER BY cp.level DESC, ptc.category_id ASC |
0.0013179779 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0013041496 | SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_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 oc_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 oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_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 oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '502583' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' |
0.0013020039 | SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1'; |
0.0012929440 | SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '502563' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name |
0.0012810230 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0012688637 | SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '502563' ORDER BY cp.level DESC, ptc.category_id ASC |
0.0012559891 | SELECT * FROM oc_setting WHERE store_id = '0' AND `code` = 'theme_prostoremeslinks' |
0.0012300014 | SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '502564' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name |
0.0012121201 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0012049675 | SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1'; |
0.0011799335 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0011749268 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0011730194 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0011701584 | SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_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 oc_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 oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_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 oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '502564' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' |
0.0011551380 | SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_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 oc_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 oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_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 oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '502581' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' |
0.0011539459 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0011370182 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0011210442 | SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_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 oc_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 oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_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 oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '502629' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' |
0.0011122227 | SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '502581' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name |
0.0011091232 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0011088848 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0011069775 | SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1'; |
0.0010972023 | SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '502629' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name |
0.0010819435 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0010709763 | SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '510422' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name |
0.0010628700 | SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '502611' ORDER BY cp.level DESC, ptc.category_id ASC |
0.0010600090 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0010550022 | SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '502630' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name |
0.0010540485 | SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_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 oc_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 oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_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 oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '502611' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' |
0.0010440350 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0010437965 | SELECT * FROM oc_setting WHERE store_id = '0' AND `code` = 'advertise_google' |
0.0010318756 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0010299683 | SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_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 oc_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 oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_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 oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '510422' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' |
0.0010278225 | SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '510422' ORDER BY cp.level DESC, ptc.category_id ASC |
0.0010268688 | SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0010249615 | SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '502583' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name |
0.0010168552 | SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_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 oc_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 oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_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 oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '502645' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' |
0.0010130405 | SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '510444' ORDER BY cp.level DESC, ptc.category_id ASC |
0.0010080338 | SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '510422' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name |
0.0009860992 | SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_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 oc_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 oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_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 oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '502612' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' |
0.0009818077 | SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '502612' ORDER BY cp.level DESC, ptc.category_id ASC |
0.0009670258 | SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '510376' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name |
0.0009610653 | SELECT * FROM oc_setting WHERE store_id = '0' AND `code` = 'advertise_google' |
0.0009489059 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0009469986 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0009438992 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0009410381 | SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '502645' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name |
0.0009400845 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0009400845 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0009391308 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0009369850 | SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '502630' ORDER BY cp.level DESC, ptc.category_id ASC |
0.0009348392 | SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_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 oc_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 oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_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 oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '502597' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' |
0.0009329319 | SELECT DISTINCT * FROM oc_information i LEFT JOIN oc_information_description id ON (i.information_id = id.information_id) LEFT JOIN oc_information_to_store i2s ON (i.information_id = i2s.information_id) WHERE i.information_id = '4' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1' |
0.0009219646 | SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '502581' ORDER BY cp.level DESC, ptc.category_id ASC |
0.0009210110 | SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '510444' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name |
0.0009169579 | SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '502563' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name |
0.0009160042 | SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0009078979 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0009059906 | SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '502645' ORDER BY cp.level DESC, ptc.category_id ASC |
0.0008928776 | SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/language' OR route = 'ru-ru') |
0.0008871555 | SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '502629' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name |
0.0008828640 | SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '502645' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name |
0.0008678436 | SELECT value FROM oc_setting WHERE store_id = '0' AND `key`='asc_jetcache_settings' |
0.0008661747 | SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_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 oc_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 oc_product_reward pr WHERE pr.product_id = p.product_id AND pr.customer_group_id = '1') AS reward, (SELECT ss.name FROM oc_stock_status ss WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '1') AS stock_status, (SELECT wcd.unit FROM oc_weight_class_description wcd WHERE p.weight_class_id = wcd.weight_class_id AND wcd.language_id = '1') AS weight_class, (SELECT lcd.unit FROM oc_length_class_description lcd WHERE p.length_class_id = lcd.length_class_id AND lcd.language_id = '1') AS length_class, (SELECT AVG(rating) AS total FROM oc_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 oc_review r2 WHERE r2.product_id = p.product_id AND r2.status = '1' GROUP BY r2.product_id) AS reviews, p.sort_order FROM oc_product p LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) LEFT JOIN oc_manufacturer m ON (p.manufacturer_id = m.manufacturer_id) WHERE p.product_id = '502630' AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' |
0.0008649826 | SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '502597' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name |
0.0008599758 | SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '502597' ORDER BY cp.level DESC, ptc.category_id ASC |
0.0008549690 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0008511543 | SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1'; |
0.0008468628 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0008280277 | SELECT * FROM oc_product_image WHERE product_id = '502612' ORDER BY sort_order ASC |
0.0008270741 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0008180141 | SELECT * FROM oc_product_image WHERE product_id = '502564' ORDER BY sort_order ASC |
0.0008120537 | SELECT a.attribute_id, ad.name, pa.text FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_description ad ON (a.attribute_id = ad.attribute_id) WHERE pa.product_id = '510480' AND a.attribute_group_id = '1' AND ad.language_id = '1' AND pa.language_id = '1' ORDER BY a.sort_order, ad.name |
0.0007989407 | SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0007820129 | SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1'; |
0.0007560253 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0007560253 | SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0007319450 | SELECT * FROM oc_product_image WHERE product_id = '502583' ORDER BY sort_order ASC |
0.0007309914 | SELECT ptc.category_id as category_id, cp.path_id as parent_id, cp.level FROM `oc_product_to_category` ptc INNER JOIN `oc_category_path` cp ON ptc.category_id = cp.category_id WHERE product_id = '502629' ORDER BY cp.level DESC, ptc.category_id ASC |
0.0007240772 | SELECT tr1.tax_class_id, tr2.tax_rate_id, tr2.name, tr2.rate, tr2.type, tr1.priority FROM oc_tax_rule tr1 LEFT JOIN oc_tax_rate tr2 ON (tr1.tax_rate_id = tr2.tax_rate_id) INNER JOIN oc_tax_rate_to_customer_group tr2cg ON (tr2.tax_rate_id = tr2cg.tax_rate_id) LEFT JOIN oc_zone_to_geo_zone z2gz ON (tr2.geo_zone_id = z2gz.geo_zone_id) LEFT JOIN oc_geo_zone gz ON (tr2.geo_zone_id = gz.geo_zone_id) WHERE tr1.based = 'shipping' AND tr2cg.customer_group_id = '1' AND z2gz.country_id = '176' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '46') ORDER BY tr1.priority ASC |
0.0007240772 | SELECT * FROM `oc_event` WHERE `trigger` LIKE 'catalog/%' AND status = '1' ORDER BY `sort_order` ASC |
0.0007209778 | SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0007200241 | SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0007181168 | SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '502563' |
0.0007159710 | SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/header_wishlist' |
0.0007061958 | SELECT * FROM oc_product_image WHERE product_id = '502630' ORDER BY sort_order ASC |
0.0007050037 | SELECT * FROM oc_product_image WHERE product_id = '510422' ORDER BY sort_order ASC |
0.0006790161 | SELECT * FROM oc_length_class mc LEFT JOIN oc_length_class_description mcd ON (mc.length_class_id = mcd.length_class_id) WHERE mcd.language_id = '1' |
0.0006439686 | SELECT * FROM oc_category_to_layout WHERE category_id = '3' AND store_id = '0' |
0.0006430149 | SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '502630' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name |
0.0006430149 | SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '502581' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name |
0.0006330013 | SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '510376' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name |
0.0006141663 | SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '502564' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name |
0.0006129742 | SELECT * FROM oc_ocfilter_setting |
0.0006101131 | SELECT * FROM oc_product_image WHERE product_id = '510376' ORDER BY sort_order ASC |
0.0006070137 | SELECT * FROM oc_product_image WHERE product_id = '502582' ORDER BY sort_order ASC |
0.0005869865 | SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0005800724 | SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/search' OR route = 'ru-ru') |
0.0005791187 | SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/currency' OR route = 'ru-ru') |
0.0005760193 | SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/cart' OR route = 'ru-ru') |
0.0005688667 | SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/header_nav_v_drop' |
0.0005598068 | SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0005588531 | SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '510480' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name |
0.0005359650 | SELECT * FROM oc_currency |
0.0005359650 | SELECT * FROM oc_layout_module WHERE layout_id = '3' AND position = 'content_bottom' ORDER BY sort_order |
0.0005199909 | SELECT tr1.tax_class_id, tr2.tax_rate_id, tr2.name, tr2.rate, tr2.type, tr1.priority FROM oc_tax_rule tr1 LEFT JOIN oc_tax_rate tr2 ON (tr1.tax_rate_id = tr2.tax_rate_id) INNER JOIN oc_tax_rate_to_customer_group tr2cg ON (tr2.tax_rate_id = tr2cg.tax_rate_id) LEFT JOIN oc_zone_to_geo_zone z2gz ON (tr2.geo_zone_id = z2gz.geo_zone_id) LEFT JOIN oc_geo_zone gz ON (tr2.geo_zone_id = gz.geo_zone_id) WHERE tr1.based = 'store' AND tr2cg.customer_group_id = '1' AND z2gz.country_id = '176' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '46') ORDER BY tr1.priority ASC |
0.0005180836 | SELECT DISTINCT * FROM oc_information i LEFT JOIN oc_information_description id ON (i.information_id = id.information_id) LEFT JOIN oc_information_to_store i2s ON (i.information_id = i2s.information_id) WHERE i.information_id = '7' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1' |
0.0005140305 | SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0005080700 | SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'common/header' OR route = 'ru-ru') |
0.0004971027 | SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/header_compare' |
0.0004959106 | SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '502582' |
0.0004880428 | SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'product/category_grid' |
0.0004870892 | DELETE FROM oc_cart WHERE (api_id > '0' OR customer_id = '0') AND date_added < DATE_SUB(NOW(), INTERVAL 60 MINUTE) |
0.0004820824 | SELECT * FROM oc_category_to_layout WHERE category_id = '3' AND store_id = '0' |
0.0004811287 | SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'extension/module/callback' |
0.0004811287 | SELECT * FROM oc_product_image WHERE product_id = '510480' ORDER BY sort_order ASC |
0.0004789829 | SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '502597' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name |
0.0004749298 | SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '502583' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name |
0.0004730225 | SELECT ag.attribute_group_id, agd.name FROM oc_product_attribute pa LEFT JOIN oc_attribute a ON (pa.attribute_id = a.attribute_id) LEFT JOIN oc_attribute_group ag ON (a.attribute_group_id = ag.attribute_group_id) LEFT JOIN oc_attribute_group_description agd ON (ag.attribute_group_id = agd.attribute_group_id) WHERE pa.product_id = '502612' AND agd.language_id = '1' GROUP BY ag.attribute_group_id ORDER BY ag.sort_order, agd.name |
0.0004730225 | SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/header_nav_cust' |
0.0004668236 | SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/language' |
0.0004570484 | SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'product/category' OR route = 'ru-ru') |
0.0004429817 | SELECT * FROM oc_category_to_layout WHERE category_id = '3' AND store_id = '0' |
0.0004379749 | SELECT DISTINCT * FROM oc_information i LEFT JOIN oc_information_description id ON (i.information_id = id.information_id) LEFT JOIN oc_information_to_store i2s ON (i.information_id = i2s.information_id) WHERE i.information_id = '14' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1' |
0.0004358292 | SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0004341602 | SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0004301071 | SELECT * FROM oc_layout_route WHERE 'product/category' LIKE route AND store_id = '0' ORDER BY route DESC LIMIT 1 |
0.0004270077 | SELECT * FROM oc_product_image WHERE product_id = '510444' ORDER BY sort_order ASC |
0.0004239082 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0004220009 | DELETE FROM oc_cart WHERE (api_id > '0' OR customer_id = '0') AND date_added < DATE_SUB(NOW(), INTERVAL 1 HOUR) |
0.0004208088 | SELECT * FROM oc_layout_route WHERE 'product/category' LIKE route AND store_id = '0' ORDER BY route DESC LIMIT 1 |
0.0004169941 | SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '510422' |
0.0004160404 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0004160404 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0004131794 | SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '502612' |
0.0004119873 | SELECT `data` FROM `oc_session` WHERE `session_id` = '8e2f52c4ad82b72e35f072a12a' AND `expire` > '2025-08-01 13:55:42' |
0.0004119873 | SELECT DISTINCT * FROM oc_information i LEFT JOIN oc_information_description id ON (i.information_id = id.information_id) LEFT JOIN oc_information_to_store i2s ON (i.information_id = i2s.information_id) WHERE i.information_id = '9' AND id.language_id = '1' AND i2s.store_id = '0' AND i.status = '1' |
0.0004110336 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0004110336 | SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0004088879 | SELECT * FROM oc_extension WHERE `type` = 'analytics' |
0.0004041195 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0004010201 | SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '502581' |
0.0003998280 | SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'product/compare' OR route = 'ru-ru') |
0.0003991127 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003960133 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003950596 | SELECT * FROM oc_layout_route WHERE 'product/category' LIKE route AND store_id = '0' ORDER BY route DESC LIMIT 1 |
0.0003941059 | SELECT * FROM oc_layout_route WHERE 'product/category' LIKE route AND store_id = '0' ORDER BY route DESC LIMIT 1 |
0.0003910065 | SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/column_right' |
0.0003900528 | SELECT * FROM oc_cart WHERE customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0003879070 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003840923 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003809929 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003800392 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003790855 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003790855 | SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '510376' |
0.0003778934 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003778934 | SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0003759861 | SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0003740788 | SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/column_left' |
0.0003712177 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003700256 | SELECT * FROM oc_layout_route WHERE 'product/category' LIKE route AND store_id = '0' ORDER BY route DESC LIMIT 1 |
0.0003678799 | SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/content_top' |
0.0003650188 | SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '510444' |
0.0003640652 | SELECT * FROM oc_layout_module WHERE layout_id = '3' AND position = 'column_right' ORDER BY sort_order |
0.0003640652 | SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/currency' |
0.0003631115 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003619194 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003609657 | SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/module/category' OR route = 'ru-ru') |
0.0003600121 | SELECT * FROM oc_product_image WHERE product_id = '502597' ORDER BY sort_order ASC |
0.0003600121 | SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0003600121 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003571510 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003569126 | SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1'; |
0.0003530979 | SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/theme/prostore' OR route = 'ru-ru') |
0.0003530979 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003519058 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003511906 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003499985 | SELECT * FROM oc_layout_module WHERE layout_id = '3' AND `code` = 'ocfilter' |
0.0003490448 | SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/header_5' |
0.0003478527 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003459454 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003449917 | SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1'; |
0.0003430843 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003421307 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003409386 | SELECT * FROM oc_product_image WHERE product_id = '502581' ORDER BY sort_order ASC |
0.0003399849 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003399849 | SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0003371239 | SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '502564' |
0.0003368855 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003368855 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003361702 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003359318 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003359318 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003349781 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003340244 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003340244 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003321171 | SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1'; |
0.0003321171 | SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0003318787 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003318787 | SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0003311634 | SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'product/buyclick_form' |
0.0003290176 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003290176 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003290176 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003230572 | SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/content_bottom' |
0.0003221035 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003209114 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003209114 | SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/theme/prostore' OR route = 'ru-ru') |
0.0003190041 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003190041 | SELECT * FROM oc_layout_module WHERE layout_id = '3' AND position = 'content_top' ORDER BY sort_order |
0.0003180504 | SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '502630' |
0.0003149509 | SELECT * FROM oc_store WHERE REPLACE(`ssl`, 'www.', '') = 'https://atlantpro24.ru/' |
0.0003139973 | SELECT * FROM oc_layout_module WHERE layout_id = '3' AND position = 'column_left' ORDER BY sort_order |
0.0003130436 | SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/theme/prostore' OR route = 'ru-ru') |
0.0003120899 | SELECT * FROM oc_category_to_layout WHERE category_id = '3' AND store_id = '0' |
0.0003120899 | SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/header' |
0.0003108978 | SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/search' |
0.0003101826 | SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '502629' |
0.0003101826 | SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'product/buyclick_form' |
0.0003099442 | SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/total/prostoresets' OR route = 'ru-ru') |
0.0003089905 | SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'common/cart' |
0.0003089905 | SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0003080368 | SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0003070831 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003058910 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003051758 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003051758 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003049374 | SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/total/sub_total' OR route = 'ru-ru') |
0.0003018379 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND affect = '1' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0003008842 | SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'product/category' |
0.0003008842 | SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/total/total' OR route = 'ru-ru') |
0.0002999306 | SELECT * FROM oc_extension WHERE `type` = 'total' |
0.0002989769 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '3' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0002989769 | SELECT *, qty as quantity FROM oc_category_discount cd WHERE category_id = '2' AND status = '1' AND customer_group_id = '1' AND (qty = '0' OR qty = '1') AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY priority ASC, qty ASC, percentage DESC LIMIT 1 |
0.0002980232 | SELECT * FROM oc_theme WHERE store_id = '0' AND theme = 'prostore' AND route = 'extension/module/category' |
0.0002970695 | SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1'; |
0.0002939701 | SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1'; |
0.0002930164 | SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1'; |
0.0002930164 | SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/total/credit' OR route = 'ru-ru') |
0.0002930164 | SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'extension/theme/prostore' OR route = 'ru-ru') |
0.0002899170 | SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1'; |
0.0002868176 | SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0002858639 | SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0002849102 | SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1'; |
0.0002820492 | SELECT * FROM oc_category_to_layout WHERE category_id = '3' AND store_id = '0' |
0.0002820492 | SELECT SUM(amount) AS total FROM oc_customer_transaction WHERE customer_id = '0' |
0.0002820492 | SELECT * FROM oc_category_discount WHERE category_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) AND status = '1' AND customer_group_id = '1'; |
0.0002808571 | SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '502645' |
0.0002799034 | SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0002779961 | SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0002729893 | SELECT * FROM oc_translation WHERE store_id = '0' AND language_id = '1' AND (route = 'checkout/checkout' OR route = 'ru-ru') |
0.0002701283 | SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0002651215 | SELECT * FROM oc_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '8e2f52c4ad82b72e35f072a12a' |
0.0002629757 | SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '502597' |
0.0002529621 | SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '502583' |
0.0002520084 | SELECT * FROM oc_ocfilter_setting WHERE `key` = 'placement_layout' |
0.0002391338 | SELECT COUNT(*) AS total FROM oc_customer_wishlist WHERE product_id = '510480' |
0.0002281666 | SET SQL_BIG_SELECTS = 1 |