Menu
Jūsu grozs

Ķivere S-M Peach

Ķivere S-M Peach
Ķivere S-M Peach
Ķivere S-M Peach
Bestsellers
Ķivere S-M Peach
Ķivere S-M Peach
Ķivere S-M Peach
Ķivere S-M Peach
44,99€
  • : IR PIEEJAMS
  • Bez nodokļa: 37,18€
    • IR PIEEJAMS
    • Modelis: Peach S-M

    Ar inovatīvo magnētisko drošības slēdzi, ērtākai ķiveres lietošanai

    Ķiveres aizmugurē iestrādāta LED lampiņa papildus drošībai

    Svars 300gr

    Izmērs: 51-55cm

    Atslēgvārdi: scoot and ride , velo , ķivere , Peach , rozā
    Sīkdatņu paziņojums
    Šajā vietnē tiek izmantotas sīkdatnes. Piekrītot izmantot sīkdatnes, vietne tiks optimizēta. Turpinot skatīt vietni, jūs piekrītat, ka mēs jūsu ierīcē izmantosim sīkfailus. Jūs jebkurā laikā varat atsaukt savu piekrišanu, izdzēšot saglabātos sīkfailus
    Queries: 579, Total time: 257.249 ms [By time] [By id] [By file]
    1 (1.643)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '0' AND (route = 'engb' OR route = '')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    2 (0.336)
    SELECT *
    FROM oc_extension
    WHERE `type` = 'openbay'
    /home/pingas/liepinmaja_public_html/system/library/openbay.php:61
    3 (0.922)
    select value
    from oc_setting
    where `key` like "adk_%inline_translate"
    /home/pingas/liepinmaja_public_html/system/library/advertikon/advertikon.php:3497
    4 (0.529)
    SELECT `data`
    FROM `oc_session`
    WHERE session_id = 'c3f4e261ccfcb394eb340f869a' AND expire > 1695959315
    /home/pingas/liepinmaja_public_html/system/library/session/db.php:21
    5 (0.316)
    SELECT *
    FROM oc_store
    WHERE REPLACE(`ssl`, 'www.', '') = 'https://liepinmaja.lv/'
    /home/pingas/storage3032/modification/catalog/controller/startup/startup.php:6
    6 (3.375)
    SELECT *
    FROM `oc_setting`
    WHERE store_id = '0' OR store_id = '0'
    ORDER BY store_id ASC
    /home/pingas/storage3032/modification/catalog/controller/startup/startup.php:25
    7 (0.417)
    SELECT *
    FROM oc_language
    WHERE status = '1'
    ORDER BY sort_order, name
    /home/pingas/liepinmaja_public_html/catalog/model/localisation/language.php:15
    8 (0.355)
    SELECT *
    FROM oc_currency
    /home/pingas/liepinmaja_public_html/system/library/cart/currency.php:10
    9 (0.972)
    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 = '8' AND z2gz.country_id = '117' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '4163')
    ORDER BY tr1.priority ASC
    /home/pingas/liepinmaja_public_html/system/library/cart/tax.php:16
    10 (0.695)
    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 = '8' AND z2gz.country_id = '117' AND (z2gz.zone_id = '0' OR z2gz.zone_id = '4163')
    ORDER BY tr1.priority ASC
    /home/pingas/liepinmaja_public_html/system/library/cart/tax.php:44
    11 (0.468)
    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 = '2'
    /home/pingas/liepinmaja_public_html/system/library/cart/weight.php:10
    12 (0.436)
    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 = '2'
    /home/pingas/liepinmaja_public_html/system/library/cart/length.php:10
    13 (0.431)
    DELETE
    FROM oc_cart
    WHERE (api_id > '0' OR customer_id = '0') AND date_added < DATE_SUB(NOW(), INTERVAL 1 HOUR)
    /home/pingas/storage3032/modification/system/library/cart/cart.php:15
    14 (0.361)
    SELECT *
    FROM oc_extension
    WHERE `type` = 'openbay'
    /home/pingas/liepinmaja_public_html/system/library/openbay.php:61
    15 (1.086)
    SELECT *
    FROM `oc_event`
    WHERE `trigger` LIKE 'catalog/%' AND status = '1'
    ORDER BY `sort_order` ASC
    /home/pingas/liepinmaja_public_html/catalog/model/setting/event.php:4
    16 (0.987)
    SELECT *
    FROM oc_seo_url
    WHERE keyword = 'Scoot-And-Ride-Bernu-drosiba-Kivere-Peach-S-M' AND store_id = '0'
    /home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:19
    17 (0.476)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    18 (0.435)
    SELECT count(*) AS total
    FROM `oc_journal3_skin`
    /home/pingas/liepinmaja_public_html/catalog/model/journal3/settings.php:112
    19 (1.178)
    SELECT `key`, `value`, `serialized`
    FROM oc_setting
    WHERE store_id = '0' AND `code` = 'module_lscache' AND `key` not like 'esi%' AND `key` not like 'page%'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/lscache.php:108
    20 (1.038)
    SELECT `key`, `value`, `serialized`
    FROM oc_setting
    WHERE store_id = '0' AND `code` = 'module_lscache' AND `key` not like 'esi%' AND `key` not like 'page%'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/lscache.php:108
    21 (0.397)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    22 (0.440)
    SELECT *
    FROM oc_cart
    WHERE api_id = '0' AND customer_id = '0' AND session_id = 'c3f4e261ccfcb394eb340f869a'
    /home/pingas/storage3032/modification/system/library/cart/cart.php:43
    23 (1.240)
    SELECT `key`, `value`, `serialized`
    FROM oc_setting
    WHERE store_id = '0' AND `code` = 'module_lscache' AND `key` not like 'esi%' AND `key` not like 'page%'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/lscache.php:108
    24 (0.357)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    25 (0.514)
    SELECT *
    FROM oc_product_to_layout
    WHERE product_id = '25164' AND store_id = '0'
    /home/pingas/storage3032/modification/catalog/model/catalog/product.php:416
    26 (0.426)
    SELECT *
    FROM oc_layout_route
    WHERE 'product/product' LIKE route AND store_id = '0'
    ORDER BY route DESC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/design/layout.php:4
    27 (0.329)
    SELECT layout_id, layout_data
    FROM `oc_journal3_layout`
    WHERE `layout_id` = '2' OR `layout_id` = -1
    ORDER BY `layout_id` DESC
    /home/pingas/liepinmaja_public_html/catalog/model/journal3/layout.php:122
    28 (1.084)
    SELECT `key`, `value`, `serialized`
    FROM oc_setting
    WHERE store_id = '0' AND `code` = 'module_lscache' AND `key` not like 'esi%' AND `key` not like 'page%'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/lscache.php:108
    29 (0.385)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    30 (0.316)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/css'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    31 (1.879)
    SELECT `key`, `value`, `serialized`
    FROM oc_setting
    WHERE store_id = '0' AND `code` = 'module_lscache' AND `key` not like 'esi%' AND `key` not like 'page%'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/lscache.php:108
    32 (0.601)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    33 (1.451)
    SELECT `key`, `value`, `serialized`
    FROM oc_setting
    WHERE store_id = '0' AND `code` = 'module_lscache' AND `key` not like 'esi%' AND `key` not like 'page%'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/lscache.php:108
    34 (0.451)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    35 (1.081)
    SELECT `key`, `value`, `serialized`
    FROM oc_setting
    WHERE store_id = '0' AND `code` = 'module_lscache' AND `key` not like 'esi%' AND `key` not like 'page%'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/lscache.php:108
    36 (0.340)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    37 (1.052)
    SELECT `key`, `value`, `serialized`
    FROM oc_setting
    WHERE store_id = '0' AND `code` = 'module_lscache' AND `key` not like 'esi%' AND `key` not like 'page%'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/lscache.php:108
    38 (0.346)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    39 (0.999)
    SELECT `key`, `value`, `serialized`
    FROM oc_setting
    WHERE store_id = '0' AND `code` = 'module_lscache' AND `key` not like 'esi%' AND `key` not like 'page%'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/lscache.php:108
    40 (0.325)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    41 (1.005)
    SELECT `key`, `value`, `serialized`
    FROM oc_setting
    WHERE store_id = '0' AND `code` = 'module_lscache' AND `key` not like 'esi%' AND `key` not like 'page%'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/lscache.php:108
    42 (0.329)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    43 (1.031)
    SELECT `key`, `value`, `serialized`
    FROM oc_setting
    WHERE store_id = '0' AND `code` = 'module_lscache' AND `key` not like 'esi%' AND `key` not like 'page%'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/lscache.php:108
    44 (0.304)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    45 (0.998)
    SELECT `key`, `value`, `serialized`
    FROM oc_setting
    WHERE store_id = '0' AND `code` = 'module_lscache' AND `key` not like 'esi%' AND `key` not like 'page%'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/lscache.php:108
    46 (1.023)
    SELECT `key`, `value`
    FROM oc_setting
    WHERE store_id = '0' AND `code` = 'module_lscache' AND `key` like 'esi%'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/lscache.php:42
    47 (0.351)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'product/product' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    48 (0.148)
    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 = '8' 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 = '8' 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 = '8') AS reward, (SELECT ss.name
    FROM oc_stock_status ss
    WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') 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 = '2') 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 = '2') 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 = '25164' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
    /home/pingas/storage3032/modification/catalog/model/catalog/product.php:8
    49 (0.702)
    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 = '25164'
    ORDER BY cp.level DESC, ptc.category_id ASC
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:805
    50 (0.532)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    51 (0.392)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    52 (0.364)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    53 (0.349)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    54 (0.351)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    55 (0.366)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    56 (0.364)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    57 (0.374)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    58 (0.354)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    59 (0.368)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    60 (0.356)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    61 (0.361)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    62 (0.365)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    63 (0.348)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    64 (0.346)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    65 (0.355)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    66 (0.356)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    67 (0.370)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    68 (0.341)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    69 (0.345)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    70 (0.366)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    71 (0.367)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    72 (0.363)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    73 (0.354)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    74 (0.355)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    75 (0.381)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    76 (0.357)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    77 (0.369)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    78 (0.357)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    79 (0.367)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    80 (0.384)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    81 (0.368)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    82 (0.357)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    83 (0.391)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    84 (0.345)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5782' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    85 (0.387)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5782' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    86 (0.354)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5783' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    87 (0.347)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5783' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    88 (0.352)
    SELECT manufacturer_id
    FROM `oc_product`
    WHERE product_id = '25164'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:813
    89 (0.598)
    SELECT *, md.qty as quantity
    FROM `oc_manufacturer_discount` md
    INNER JOIN `oc_manufacturer` m ON md.manufacturer_id = m.manufacturer_id
    WHERE md.status = '1' AND md.manufacturer_id = '324' AND md.customer_group_id = '8' AND ((md.date_start = '0000-00-00' OR md.date_start < NOW()) AND (qty = '0' OR qty = '1') AND (md.date_end = '0000-00-00' OR md.date_end > NOW()))
    ORDER BY md.qty ASC, md.percentage ASC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:817
    90 (0.457)
    SELECT *
    FROM `oc_customer_group_discount`
    WHERE status = '1' AND customer_group_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
    ORDER BY priority ASC, percentage ASC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:835
    91 (0.413)
    SELECT percentage, qty as quantity
    FROM `oc_volume_discount`
    WHERE status = '1' AND customer_group_id = '8' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (qty = '0' OR qty = '1') AND (date_end = '0000-00-00' OR date_end > NOW()))
    ORDER BY qty ASC, percentage ASC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:846
    92 (0.354)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'product/compare' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    93 (0.363)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    94 (0.368)
    SELECT *
    FROM `oc_journal3_module`
    WHERE `module_id` = '58'
    /home/pingas/liepinmaja_public_html/catalog/model/journal3/module.php:8
    95 (0.395)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    96 (0.359)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    97 (0.281)
    SELECT *
    FROM `oc_journal3_module`
    WHERE `module_id` = '300'
    /home/pingas/liepinmaja_public_html/catalog/model/journal3/module.php:8
    98 (0.147)
    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 = '8' 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 = '8' 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 = '8') AS reward, (SELECT ss.name
    FROM oc_stock_status ss
    WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') 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 = '2') 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 = '2') 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 = '25164' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
    /home/pingas/storage3032/modification/catalog/model/catalog/product.php:8
    99 (0.539)
    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 = '25164'
    ORDER BY cp.level DESC, ptc.category_id ASC
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:805
    100 (0.531)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    101 (0.388)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    102 (0.349)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    103 (0.364)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    104 (0.344)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    105 (0.362)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    106 (0.366)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    107 (0.361)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    108 (0.361)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    109 (0.362)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    110 (0.351)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    111 (0.379)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    112 (0.346)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    113 (0.343)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    114 (0.365)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    115 (0.351)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    116 (0.347)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    117 (0.345)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    118 (0.334)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    119 (0.359)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    120 (0.338)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    121 (0.356)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    122 (0.362)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    123 (0.347)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    124 (0.346)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    125 (0.350)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    126 (0.350)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    127 (0.400)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    128 (0.338)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    129 (0.342)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    130 (0.357)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    131 (0.366)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    132 (0.355)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    133 (0.347)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    134 (0.335)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5782' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    135 (0.401)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5782' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    136 (0.349)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5783' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    137 (0.343)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5783' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    138 (0.236)
    SELECT manufacturer_id
    FROM `oc_product`
    WHERE product_id = '25164'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:813
    139 (0.457)
    SELECT *, md.qty as quantity
    FROM `oc_manufacturer_discount` md
    INNER JOIN `oc_manufacturer` m ON md.manufacturer_id = m.manufacturer_id
    WHERE md.status = '1' AND md.manufacturer_id = '324' AND md.customer_group_id = '8' AND ((md.date_start = '0000-00-00' OR md.date_start < NOW()) AND (qty = '0' OR qty = '1') AND (md.date_end = '0000-00-00' OR md.date_end > NOW()))
    ORDER BY md.qty ASC, md.percentage ASC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:817
    140 (0.368)
    SELECT *
    FROM `oc_customer_group_discount`
    WHERE status = '1' AND customer_group_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
    ORDER BY priority ASC, percentage ASC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:835
    141 (0.343)
    SELECT percentage, qty as quantity
    FROM `oc_volume_discount`
    WHERE status = '1' AND customer_group_id = '8' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (qty = '0' OR qty = '1') AND (date_end = '0000-00-00' OR date_end > NOW()))
    ORDER BY qty ASC, percentage ASC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:846
    142 (0.782)
    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 = '25164' AND agd.language_id = '2' GROUP BY ag.attribute_group_id
    ORDER BY ag.sort_order, agd.name
    /home/pingas/storage3032/modification/catalog/model/catalog/product.php:318
    143 (0.386)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/product_blocks_attributes'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    144 (0.404)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'product/product' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    145 (0.345)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/product_blocks_reviews'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    146 (0.324)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    147 (0.266)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/product_tabs'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    148 (0.665)
    SELECT *
    FROM oc_manufacturer m
    LEFT JOIN oc_manufacturer_to_store m2s ON (m.manufacturer_id = m2s.manufacturer_id)
    WHERE m.manufacturer_id = '324' AND m2s.store_id = '0'
    /home/pingas/liepinmaja_public_html/catalog/model/catalog/manufacturer.php:4
    149 (0.090)
    SELECT *
    FROM oc_seo_url
    WHERE `query` = 'product_id=25164' AND store_id = '0' AND language_id = '2'
    /home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
    150 (0.055)
    SELECT *
    FROM oc_seo_url
    WHERE `query` = 'product_id=25164' AND store_id = '0' AND language_id = '2'
    /home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
    151 (0.078)
    SELECT *
    FROM oc_seo_url
    WHERE `query` = 'manufacturer_id=324' AND store_id = '0' AND language_id = '2'
    /home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
    152 (1.023)
    SELECT *
    FROM oc_product_image
    WHERE product_id = '25164'
    ORDER BY sort_order ASC
    /home/pingas/storage3032/modification/catalog/model/catalog/product.php:398
    153 (0.597)
    SELECT price
    FROM oc_product
    WHERE product_id = '25164'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:866
    154 (0.732)
    SELECT price
    FROM oc_product_special
    WHERE product_id = '25164' AND customer_group_id = '8' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
    ORDER BY priority ASC, price ASC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:870
    155 (0.482)
    SELECT *
    FROM oc_product_discount
    WHERE product_id = '25164' AND customer_group_id = '8' AND quantity > 1 AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
    ORDER BY quantity ASC, priority ASC, price ASC
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:881
    156 (0.472)
    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 = '25164'
    ORDER BY cp.level DESC, ptc.category_id ASC
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1063
    157 (0.379)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    158 (0.343)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    159 (0.331)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    160 (0.344)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    161 (0.329)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    162 (0.435)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    163 (0.423)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    164 (0.459)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    165 (0.440)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    166 (0.351)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    167 (0.346)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    168 (0.335)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    169 (0.322)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    170 (0.333)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    171 (0.325)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    172 (0.349)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    173 (0.345)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    174 (0.398)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    175 (0.338)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    176 (0.339)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    177 (0.327)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    178 (0.404)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    179 (0.352)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    180 (0.375)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    181 (0.339)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    182 (0.335)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    183 (0.342)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    184 (0.349)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    185 (0.328)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    186 (0.349)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    187 (0.327)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    188 (0.334)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    189 (0.344)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    190 (0.339)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    191 (0.388)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5782' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    192 (0.345)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5782' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    193 (0.330)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5783' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    194 (0.379)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5783' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    195 (0.223)
    SELECT manufacturer_id
    FROM `oc_product`
    WHERE product_id = '25164'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1069
    196 (0.432)
    SELECT *, md.qty as quantity
    FROM `oc_manufacturer_discount` md
    INNER JOIN `oc_manufacturer` m ON md.manufacturer_id = m.manufacturer_id
    WHERE md.status = '1' AND md.manufacturer_id = '324' AND md.customer_group_id = '8' AND ((md.date_start = '0000-00-00' OR md.date_start < NOW()) AND (md.date_end = '0000-00-00' OR md.date_end > NOW()))
    ORDER BY md.qty ASC, md.percentage ASC
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1073
    197 (0.375)
    SELECT *
    FROM `oc_customer_group_discount`
    WHERE status = '1' AND customer_group_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
    ORDER BY priority ASC, percentage ASC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1094
    198 (0.326)
    SELECT percentage, qty as quantity
    FROM `oc_volume_discount`
    WHERE status = '1' AND customer_group_id = '8' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
    ORDER BY qty ASC, percentage ASC
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1105
    199 (1.102)
    SELECT *
    FROM oc_product_option po
    LEFT JOIN `oc_option` o ON (po.option_id = o.option_id)
    LEFT JOIN oc_option_description od ON (o.option_id = od.option_id)
    WHERE po.product_id = '25164' AND od.language_id = '2'
    ORDER BY o.sort_order
    /home/pingas/storage3032/modification/catalog/model/catalog/product.php:346
    200 (0.109)
    SELECT *
    FROM oc_seo_url
    WHERE `query` = 'product_id=25164' AND store_id = '0' AND language_id = '2'
    /home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
    201 (0.510)
    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 = '25164' AND agd.language_id = '2' GROUP BY ag.attribute_group_id
    ORDER BY ag.sort_order, agd.name
    /home/pingas/storage3032/modification/catalog/model/catalog/product.php:318
    202 (0.684)
    SELECT rd.*
    FROM oc_product_recurring pr JOIN oc_recurring_description rd ON (rd.language_id = 2 AND rd.recurring_id = pr.recurring_id) JOIN oc_recurring r ON r.recurring_id = rd.recurring_id
    WHERE pr.product_id = 25164 AND status = '1' AND pr.customer_group_id = '8'
    ORDER BY sort_order ASC
    /home/pingas/storage3032/modification/catalog/model/catalog/product.php:540
    203 (0.418)
    UPDATE oc_product SET viewed = (viewed + 1)
    WHERE product_id = '25164'
    /home/pingas/storage3032/modification/catalog/model/catalog/product.php:4
    204 (1.763)
    SELECT SUM(op.quantity) AS quantity
    FROM `oc_order_product` op
    LEFT JOIN `oc_order` o ON op.order_id = o.order_id
    WHERE o.order_status_id <> 0 AND op.product_id = '25164'
    /home/pingas/liepinmaja_public_html/system/library/journal3/opencart/model.php:48
    205 (0.361)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    206 (0.326)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    207 (0.311)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'product/product' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    208 (0.257)
    SELECT *
    FROM `oc_journal3_module`
    WHERE `module_id` = '253'
    /home/pingas/liepinmaja_public_html/catalog/model/journal3/module.php:8
    209 (0.311)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    210 (0.331)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/notification'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    211 (0.318)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    212 (0.321)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    213 (0.311)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    214 (0.341)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    215 (0.331)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/main_menu'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    216 (0.326)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    217 (0.243)
    SELECT *
    FROM `oc_journal3_module`
    WHERE `module_id` = '0'
    /home/pingas/liepinmaja_public_html/catalog/model/journal3/module.php:8
    218 (0.306)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    219 (0.321)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/top_menu'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    220 (0.388)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    221 (0.325)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/top_menu'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    222 (0.347)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    223 (0.300)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/top_menu'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    224 (0.333)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    225 (0.294)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/top_menu'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    226 (0.343)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    227 (0.337)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    228 (0.331)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'product/product' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    229 (1.141)
    SELECT *
    FROM `oc_product_related` pr
    LEFT JOIN `oc_product` p ON (pr.related_id = p.product_id)
    LEFT JOIN `oc_product_to_store` p2s ON (p.product_id = p2s.product_id)
    WHERE pr.product_id IN (25164) AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' LIMIT 0, 6
    /home/pingas/liepinmaja_public_html/catalog/model/journal3/product.php:190
    230 (4.050)
    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 = '8' 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 = '8' 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 = '8') AS reward, (SELECT ss.name
    FROM oc_stock_status ss
    WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') 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 = '2') 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 = '2') 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 IN (25502,28186,28187,28291,28292) AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
    /home/pingas/liepinmaja_public_html/catalog/model/journal3/product.php:27
    231 (0.097)
    SELECT *
    FROM oc_seo_url
    WHERE `query` = 'product_id=25502' AND store_id = '0' AND language_id = '2'
    /home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
    232 (0.080)
    SELECT *
    FROM oc_seo_url
    WHERE `query` = 'product_id=28186' AND store_id = '0' AND language_id = '2'
    /home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
    233 (0.078)
    SELECT *
    FROM oc_seo_url
    WHERE `query` = 'product_id=28187' AND store_id = '0' AND language_id = '2'
    /home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
    234 (0.079)
    SELECT *
    FROM oc_seo_url
    WHERE `query` = 'product_id=28291' AND store_id = '0' AND language_id = '2'
    /home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
    235 (0.085)
    SELECT *
    FROM oc_seo_url
    WHERE `query` = 'product_id=28292' AND store_id = '0' AND language_id = '2'
    /home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
    236 (0.372)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/side_products'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    237 (0.346)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    238 (0.325)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/info_blocks'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    239 (0.347)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    240 (0.294)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/links_menu'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    241 (0.372)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    242 (0.373)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/links_menu'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    243 (0.346)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    244 (0.308)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/newsletter'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    245 (0.351)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    246 (0.331)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/links_menu'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    247 (0.354)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    248 (0.307)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/module/blocks'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    249 (0.312)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'journal3/layout'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    250 (0.341)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'common/footer' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    251 (0.381)
    SELECT *
    FROM `oc_language`
    /home/pingas/liepinmaja_public_html/system/library/advertikon/query.php:1400
    252 (0.402)
    DELETE
    FROM `oc_customer_online`
    WHERE date_added < '2023-09-29 02:48:35'
    /home/pingas/liepinmaja_public_html/catalog/model/tool/online.php:4
    253 (0.371)
    REPLACE INTO `oc_customer_online` SET `ip` = '3.239.59.31', `customer_id` = '0', `url` = 'https://liepinmaja.lv/Scoot-And-Ride-Bernu-drosiba-Kivere-Peach-S-M', `referer` = '', `date_added` = '2023-09-29 03:48:35'
    /home/pingas/liepinmaja_public_html/catalog/model/tool/online.php:6
    254 (0.382)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/footer'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    255 (0.380)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    256 (0.333)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    257 (0.358)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    258 (0.331)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    259 (0.427)
    SELECT *
    FROM oc_language
    WHERE status = '1'
    ORDER BY sort_order, name
    /home/pingas/liepinmaja_public_html/catalog/model/localisation/language.php:15
    260 (0.149)
    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 = '8' 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 = '8' 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 = '8') AS reward, (SELECT ss.name
    FROM oc_stock_status ss
    WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') 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 = '2') 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 = '2') 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 = '25164' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
    /home/pingas/storage3032/modification/catalog/model/catalog/product.php:8
    261 (0.626)
    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 = '25164'
    ORDER BY cp.level DESC, ptc.category_id ASC
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:805
    262 (0.463)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    263 (0.422)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    264 (0.377)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    265 (0.503)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    266 (0.477)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    267 (0.545)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    268 (0.468)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    269 (0.482)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    270 (0.447)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    271 (0.467)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    272 (0.435)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    273 (0.467)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    274 (0.431)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    275 (0.477)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    276 (0.452)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    277 (0.487)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    278 (0.447)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    279 (0.473)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    280 (0.450)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    281 (0.478)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    282 (0.450)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    283 (0.475)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    284 (0.440)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    285 (0.473)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    286 (0.444)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    287 (0.496)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    288 (0.432)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    289 (0.462)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    290 (0.445)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    291 (0.467)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    292 (0.350)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    293 (0.374)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    294 (0.342)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    295 (0.313)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    296 (0.400)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5782' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    297 (0.445)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5782' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    298 (0.422)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5783' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    299 (0.411)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5783' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    300 (0.295)
    SELECT manufacturer_id
    FROM `oc_product`
    WHERE product_id = '25164'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:813
    301 (0.580)
    SELECT *, md.qty as quantity
    FROM `oc_manufacturer_discount` md
    INNER JOIN `oc_manufacturer` m ON md.manufacturer_id = m.manufacturer_id
    WHERE md.status = '1' AND md.manufacturer_id = '324' AND md.customer_group_id = '8' AND ((md.date_start = '0000-00-00' OR md.date_start < NOW()) AND (qty = '0' OR qty = '1') AND (md.date_end = '0000-00-00' OR md.date_end > NOW()))
    ORDER BY md.qty ASC, md.percentage ASC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:817
    302 (0.441)
    SELECT *
    FROM `oc_customer_group_discount`
    WHERE status = '1' AND customer_group_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
    ORDER BY priority ASC, percentage ASC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:835
    303 (0.386)
    SELECT percentage, qty as quantity
    FROM `oc_volume_discount`
    WHERE status = '1' AND customer_group_id = '8' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (qty = '0' OR qty = '1') AND (date_end = '0000-00-00' OR date_end > NOW()))
    ORDER BY qty ASC, percentage ASC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:846
    304 (0.699)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/esto_monthly'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    305 (0.316)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'extension/payment/esto' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    306 (0.145)
    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 = '8' 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 = '8' 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 = '8') AS reward, (SELECT ss.name
    FROM oc_stock_status ss
    WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') 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 = '2') 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 = '2') 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 = '25164' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
    /home/pingas/storage3032/modification/catalog/model/catalog/product.php:8
    307 (0.526)
    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 = '25164'
    ORDER BY cp.level DESC, ptc.category_id ASC
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:805
    308 (0.370)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    309 (0.301)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    310 (0.304)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    311 (0.291)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    312 (0.283)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    313 (0.302)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    314 (0.281)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    315 (0.287)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    316 (0.290)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    317 (0.291)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    318 (0.281)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    319 (0.286)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    320 (0.296)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    321 (0.284)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    322 (0.279)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    323 (0.296)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    324 (0.280)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    325 (0.285)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    326 (0.286)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    327 (0.570)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    328 (0.293)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    329 (0.298)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    330 (0.278)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    331 (0.286)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    332 (0.285)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    333 (0.287)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    334 (0.278)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    335 (0.300)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    336 (0.282)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    337 (0.286)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    338 (0.287)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    339 (0.286)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    340 (0.280)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    341 (0.292)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    342 (0.282)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5782' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    343 (0.288)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5782' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    344 (0.278)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5783' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    345 (0.299)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5783' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    346 (0.190)
    SELECT manufacturer_id
    FROM `oc_product`
    WHERE product_id = '25164'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:813
    347 (0.386)
    SELECT *, md.qty as quantity
    FROM `oc_manufacturer_discount` md
    INNER JOIN `oc_manufacturer` m ON md.manufacturer_id = m.manufacturer_id
    WHERE md.status = '1' AND md.manufacturer_id = '324' AND md.customer_group_id = '8' AND ((md.date_start = '0000-00-00' OR md.date_start < NOW()) AND (qty = '0' OR qty = '1') AND (md.date_end = '0000-00-00' OR md.date_end > NOW()))
    ORDER BY md.qty ASC, md.percentage ASC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:817
    348 (0.299)
    SELECT *
    FROM `oc_customer_group_discount`
    WHERE status = '1' AND customer_group_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
    ORDER BY priority ASC, percentage ASC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:835
    349 (0.280)
    SELECT percentage, qty as quantity
    FROM `oc_volume_discount`
    WHERE status = '1' AND customer_group_id = '8' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (qty = '0' OR qty = '1') AND (date_end = '0000-00-00' OR date_end > NOW()))
    ORDER BY qty ASC, percentage ASC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:846
    350 (0.611)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/esto_calculator'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    351 (0.438)
    SELECT *
    FROM oc_language
    WHERE status = '1'
    ORDER BY sort_order, name
    /home/pingas/liepinmaja_public_html/catalog/model/localisation/language.php:15
    352 (0.133)
    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 = '8' 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 = '8' 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 = '8') AS reward, (SELECT ss.name
    FROM oc_stock_status ss
    WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') 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 = '2') 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 = '2') 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 = '25164' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
    /home/pingas/storage3032/modification/catalog/model/catalog/product.php:8
    353 (0.587)
    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 = '25164'
    ORDER BY cp.level DESC, ptc.category_id ASC
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:805
    354 (0.464)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    355 (0.493)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    356 (0.469)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    357 (0.435)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    358 (0.515)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    359 (0.502)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    360 (0.501)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    361 (0.500)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    362 (0.507)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    363 (0.507)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    364 (0.493)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    365 (0.499)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    366 (0.494)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    367 (0.504)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    368 (0.492)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    369 (0.517)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    370 (0.487)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    371 (0.512)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    372 (0.482)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    373 (0.510)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    374 (0.486)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    375 (0.514)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    376 (0.485)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    377 (0.509)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    378 (0.481)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    379 (0.475)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    380 (0.404)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    381 (0.462)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    382 (0.449)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    383 (0.454)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    384 (0.427)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    385 (0.471)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    386 (0.388)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    387 (0.463)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    388 (0.503)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5782' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    389 (0.499)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5782' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    390 (0.496)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5783' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    391 (0.494)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5783' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    392 (0.319)
    SELECT manufacturer_id
    FROM `oc_product`
    WHERE product_id = '25164'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:813
    393 (0.597)
    SELECT *, md.qty as quantity
    FROM `oc_manufacturer_discount` md
    INNER JOIN `oc_manufacturer` m ON md.manufacturer_id = m.manufacturer_id
    WHERE md.status = '1' AND md.manufacturer_id = '324' AND md.customer_group_id = '8' AND ((md.date_start = '0000-00-00' OR md.date_start < NOW()) AND (qty = '0' OR qty = '1') AND (md.date_end = '0000-00-00' OR md.date_end > NOW()))
    ORDER BY md.qty ASC, md.percentage ASC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:817
    394 (0.487)
    SELECT *
    FROM `oc_customer_group_discount`
    WHERE status = '1' AND customer_group_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
    ORDER BY priority ASC, percentage ASC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:835
    395 (0.462)
    SELECT percentage, qty as quantity
    FROM `oc_volume_discount`
    WHERE status = '1' AND customer_group_id = '8' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (qty = '0' OR qty = '1') AND (date_end = '0000-00-00' OR date_end > NOW()))
    ORDER BY qty ASC, percentage ASC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:846
    396 (0.453)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/esto_monthly'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    397 (0.413)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'extension/payment/esto' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    398 (0.141)
    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 = '8' 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 = '8' 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 = '8') AS reward, (SELECT ss.name
    FROM oc_stock_status ss
    WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') 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 = '2') 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 = '2') 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 = '25164' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
    /home/pingas/storage3032/modification/catalog/model/catalog/product.php:8
    399 (0.598)
    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 = '25164'
    ORDER BY cp.level DESC, ptc.category_id ASC
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:805
    400 (0.496)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    401 (0.461)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    402 (0.467)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    403 (0.514)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    404 (0.402)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    405 (0.365)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    406 (0.508)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    407 (0.400)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    408 (0.474)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    409 (0.460)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    410 (0.416)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    411 (0.476)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    412 (0.370)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    413 (0.367)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    414 (0.464)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    415 (0.449)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    416 (0.360)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    417 (0.480)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    418 (0.425)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    419 (0.370)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    420 (0.358)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    421 (0.354)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    422 (0.363)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    423 (0.359)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    424 (0.347)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    425 (0.374)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    426 (0.346)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    427 (0.360)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    428 (0.356)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    429 (0.360)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    430 (0.373)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    431 (0.366)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    432 (0.351)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    433 (0.368)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    434 (0.347)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5782' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    435 (0.362)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5782' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    436 (0.350)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5783' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    437 (0.356)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5783' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    438 (0.250)
    SELECT manufacturer_id
    FROM `oc_product`
    WHERE product_id = '25164'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:813
    439 (0.458)
    SELECT *, md.qty as quantity
    FROM `oc_manufacturer_discount` md
    INNER JOIN `oc_manufacturer` m ON md.manufacturer_id = m.manufacturer_id
    WHERE md.status = '1' AND md.manufacturer_id = '324' AND md.customer_group_id = '8' AND ((md.date_start = '0000-00-00' OR md.date_start < NOW()) AND (qty = '0' OR qty = '1') AND (md.date_end = '0000-00-00' OR md.date_end > NOW()))
    ORDER BY md.qty ASC, md.percentage ASC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:817
    440 (0.452)
    SELECT *
    FROM `oc_customer_group_discount`
    WHERE status = '1' AND customer_group_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
    ORDER BY priority ASC, percentage ASC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:835
    441 (0.402)
    SELECT percentage, qty as quantity
    FROM `oc_volume_discount`
    WHERE status = '1' AND customer_group_id = '8' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (qty = '0' OR qty = '1') AND (date_end = '0000-00-00' OR date_end > NOW()))
    ORDER BY qty ASC, percentage ASC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:846
    442 (0.830)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/esto_calculator'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    443 (0.508)
    SELECT *
    FROM oc_extension
    WHERE `type` = 'analytics'
    /home/pingas/liepinmaja_public_html/catalog/model/setting/extension.php:4
    444 (0.520)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'common/header' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    445 (0.421)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'common/language' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    446 (0.474)
    SELECT *
    FROM oc_language
    WHERE status = '1'
    ORDER BY sort_order, name
    /home/pingas/liepinmaja_public_html/catalog/model/localisation/language.php:15
    447 (0.104)
    SELECT *
    FROM oc_seo_url
    WHERE `query` = 'product_id=25164' AND store_id = '0' AND language_id = '2'
    /home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
    448 (0.353)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/language'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    449 (0.387)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'common/currency' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    450 (0.070)
    SELECT *
    FROM oc_seo_url
    WHERE `query` = 'product_id=25164' AND store_id = '0' AND language_id = '2'
    /home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
    451 (0.409)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/currency'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    452 (0.435)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'common/search' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    453 (0.433)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/search'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    454 (0.442)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'common/cart' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    455 (0.505)
    SELECT *
    FROM oc_cart
    WHERE api_id = '0' AND customer_id = '0' AND session_id = 'c3f4e261ccfcb394eb340f869a'
    /home/pingas/storage3032/modification/system/library/cart/cart.php:43
    456 (0.423)
    SELECT *
    FROM oc_extension
    WHERE `type` = 'total'
    /home/pingas/liepinmaja_public_html/catalog/model/setting/extension.php:4
    457 (0.450)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'extension/total/sub_total' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    458 (0.451)
    SELECT *
    FROM oc_cart
    WHERE api_id = '0' AND customer_id = '0' AND session_id = 'c3f4e261ccfcb394eb340f869a'
    /home/pingas/storage3032/modification/system/library/cart/cart.php:43
    459 (0.466)
    SELECT *
    FROM oc_cart
    WHERE api_id = '0' AND customer_id = '0' AND session_id = 'c3f4e261ccfcb394eb340f869a'
    /home/pingas/storage3032/modification/system/library/cart/cart.php:43
    460 (0.471)
    SELECT *
    FROM oc_cart
    WHERE api_id = '0' AND customer_id = '0' AND session_id = 'c3f4e261ccfcb394eb340f869a'
    /home/pingas/storage3032/modification/system/library/cart/cart.php:43
    461 (0.449)
    SELECT *
    FROM oc_cart
    WHERE api_id = '0' AND customer_id = '0' AND session_id = 'c3f4e261ccfcb394eb340f869a'
    /home/pingas/storage3032/modification/system/library/cart/cart.php:43
    462 (0.452)
    SELECT *
    FROM oc_cart
    WHERE api_id = '0' AND customer_id = '0' AND session_id = 'c3f4e261ccfcb394eb340f869a'
    /home/pingas/storage3032/modification/system/library/cart/cart.php:43
    463 (0.467)
    SELECT *
    FROM oc_cart
    WHERE api_id = '0' AND customer_id = '0' AND session_id = 'c3f4e261ccfcb394eb340f869a'
    /home/pingas/storage3032/modification/system/library/cart/cart.php:43
    464 (0.466)
    SELECT *
    FROM oc_cart
    WHERE api_id = '0' AND customer_id = '0' AND session_id = 'c3f4e261ccfcb394eb340f869a'
    /home/pingas/storage3032/modification/system/library/cart/cart.php:43
    465 (0.471)
    SELECT *
    FROM oc_cart
    WHERE api_id = '0' AND customer_id = '0' AND session_id = 'c3f4e261ccfcb394eb340f869a'
    /home/pingas/storage3032/modification/system/library/cart/cart.php:43
    466 (0.473)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'extension/total/credit' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    467 (0.411)
    SELECT SUM(amount) AS total
    FROM oc_customer_transaction
    WHERE customer_id = '0'
    /home/pingas/liepinmaja_public_html/system/library/cart/customer.php:122
    468 (0.439)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'extension/total/total' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    469 (0.450)
    SELECT *
    FROM oc_cart
    WHERE api_id = '0' AND customer_id = '0' AND session_id = 'c3f4e261ccfcb394eb340f869a'
    /home/pingas/storage3032/modification/system/library/cart/cart.php:43
    470 (0.415)
    SELECT *
    FROM oc_cart
    WHERE api_id = '0' AND customer_id = '0' AND session_id = 'c3f4e261ccfcb394eb340f869a'
    /home/pingas/storage3032/modification/system/library/cart/cart.php:43
    471 (0.434)
    SELECT *
    FROM oc_cart
    WHERE api_id = '0' AND customer_id = '0' AND session_id = 'c3f4e261ccfcb394eb340f869a'
    /home/pingas/storage3032/modification/system/library/cart/cart.php:43
    472 (0.433)
    SELECT *
    FROM oc_cart
    WHERE api_id = '0' AND customer_id = '0' AND session_id = 'c3f4e261ccfcb394eb340f869a'
    /home/pingas/storage3032/modification/system/library/cart/cart.php:43
    473 (0.373)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/cart'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    474 (1.382)
    SELECT `key`, `value`
    FROM oc_setting
    WHERE store_id = '0' AND `code` = 'module_lscache' AND `key` like 'esi%'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/lscache.php:42
    475 (0.482)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'common/menu' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    476 (0.406)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/menu'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    477 (0.143)
    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 = '8' 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 = '8' 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 = '8') AS reward, (SELECT ss.name
    FROM oc_stock_status ss
    WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') 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 = '2') 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 = '2') 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 = '25164' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
    /home/pingas/storage3032/modification/catalog/model/catalog/product.php:8
    478 (0.698)
    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 = '25164'
    ORDER BY cp.level DESC, ptc.category_id ASC
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:805
    479 (0.580)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    480 (0.525)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    481 (0.485)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    482 (0.521)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    483 (0.497)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    484 (0.518)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    485 (0.514)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    486 (0.507)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    487 (0.504)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    488 (0.493)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    489 (0.495)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    490 (0.486)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    491 (0.448)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    492 (0.442)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    493 (0.497)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    494 (0.464)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    495 (0.494)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    496 (0.505)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    497 (0.496)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    498 (0.501)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    499 (0.504)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    500 (0.490)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    501 (0.518)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    502 (0.536)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    503 (0.529)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    504 (0.511)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    505 (0.490)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    506 (0.484)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    507 (0.456)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    508 (0.517)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    509 (0.419)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    510 (0.494)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    511 (0.462)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    512 (0.510)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    513 (0.486)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5782' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    514 (0.510)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5782' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    515 (0.489)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5783' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    516 (0.515)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5783' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    517 (0.312)
    SELECT manufacturer_id
    FROM `oc_product`
    WHERE product_id = '25164'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:813
    518 (0.654)
    SELECT *, md.qty as quantity
    FROM `oc_manufacturer_discount` md
    INNER JOIN `oc_manufacturer` m ON md.manufacturer_id = m.manufacturer_id
    WHERE md.status = '1' AND md.manufacturer_id = '324' AND md.customer_group_id = '8' AND ((md.date_start = '0000-00-00' OR md.date_start < NOW()) AND (qty = '0' OR qty = '1') AND (md.date_end = '0000-00-00' OR md.date_end > NOW()))
    ORDER BY md.qty ASC, md.percentage ASC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:817
    519 (0.483)
    SELECT *
    FROM `oc_customer_group_discount`
    WHERE status = '1' AND customer_group_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
    ORDER BY priority ASC, percentage ASC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:835
    520 (0.483)
    SELECT percentage, qty as quantity
    FROM `oc_volume_discount`
    WHERE status = '1' AND customer_group_id = '8' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (qty = '0' OR qty = '1') AND (date_end = '0000-00-00' OR date_end > NOW()))
    ORDER BY qty ASC, percentage ASC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:846
    521 (1.038)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'common/header'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    522 (0.465)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    523 (0.124)
    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 = '8' 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 = '8' 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 = '8') AS reward, (SELECT ss.name
    FROM oc_stock_status ss
    WHERE ss.stock_status_id = p.stock_status_id AND ss.language_id = '2') 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 = '2') 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 = '2') 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 = '25164' AND pd.language_id = '2' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0'
    /home/pingas/storage3032/modification/catalog/model/catalog/product.php:8
    524 (0.667)
    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 = '25164'
    ORDER BY cp.level DESC, ptc.category_id ASC
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:805
    525 (0.536)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    526 (0.442)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    527 (0.431)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    528 (0.413)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    529 (0.411)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    530 (0.426)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    531 (0.407)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    532 (0.424)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    533 (0.399)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    534 (0.427)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    535 (0.400)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    536 (0.427)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    537 (0.403)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    538 (0.408)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    539 (0.418)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    540 (0.431)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    541 (0.440)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    542 (0.411)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    543 (0.426)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '17' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    544 (0.416)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    545 (0.424)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '79' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    546 (0.419)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    547 (0.405)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '193' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    548 (0.435)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    549 (0.401)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '262' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    550 (0.438)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    551 (0.399)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    552 (0.422)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '308' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    553 (0.397)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    554 (0.418)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    555 (0.407)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5749' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    556 (0.429)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    557 (0.433)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5752' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    558 (0.413)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5724' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    559 (0.417)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5782' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    560 (0.408)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5782' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    561 (0.420)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5783' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    562 (0.416)
    SELECT *, qty as quantity
    FROM oc_category_discount cd
    WHERE category_id = '5783' AND status = '1' AND customer_group_id = '8' 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
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:1238
    563 (0.277)
    SELECT manufacturer_id
    FROM `oc_product`
    WHERE product_id = '25164'
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:813
    564 (0.563)
    SELECT *, md.qty as quantity
    FROM `oc_manufacturer_discount` md
    INNER JOIN `oc_manufacturer` m ON md.manufacturer_id = m.manufacturer_id
    WHERE md.status = '1' AND md.manufacturer_id = '324' AND md.customer_group_id = '8' AND ((md.date_start = '0000-00-00' OR md.date_start < NOW()) AND (qty = '0' OR qty = '1') AND (md.date_end = '0000-00-00' OR md.date_end > NOW()))
    ORDER BY md.qty ASC, md.percentage ASC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:817
    565 (0.418)
    SELECT *
    FROM `oc_customer_group_discount`
    WHERE status = '1' AND customer_group_id = '0' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW()))
    ORDER BY priority ASC, percentage ASC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:835
    566 (0.412)
    SELECT percentage, qty as quantity
    FROM `oc_volume_discount`
    WHERE status = '1' AND customer_group_id = '8' AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (qty = '0' OR qty = '1') AND (date_end = '0000-00-00' OR date_end > NOW()))
    ORDER BY qty ASC, percentage ASC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/model/extension/module/discount.php:846
    567 (0.077)
    SELECT *
    FROM oc_seo_url
    WHERE `query` = 'product_id=25164' AND store_id = '0' AND language_id = '2'
    /home/pingas/storage3032/modification/catalog/controller/startup/seo_url.php:132
    568 (0.651)
    SELECT r.review_id, r.author, r.rating, r.text, p.product_id, pd.name, p.price, p.image, r.date_added
    FROM oc_review r
    LEFT JOIN oc_product p ON (r.product_id = p.product_id)
    LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id)
    WHERE p.product_id = '25164' AND p.date_available <= NOW() AND p.status = '1' AND r.status = '1' AND pd.language_id = '2'
    ORDER BY r.date_added DESC LIMIT 1
    /home/pingas/liepinmaja_public_html/catalog/controller/journal3/seo.php:318
    569 (0.945)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    570 (0.490)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    571 (0.423)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    572 (0.425)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    573 (1.400)
    SELECT *
    FROM oc_setting
    WHERE store_id = '0' AND `code` = 'advertise_google'
    /home/pingas/liepinmaja_public_html/catalog/model/setting/setting.php:6
    574 (0.412)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'extension/module/facebook_business'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    575 (0.394)
    SELECT *
    FROM oc_theme
    WHERE store_id = '0' AND theme = 'journal3' AND route = 'product/product'
    /home/pingas/liepinmaja_public_html/catalog/model/design/theme.php:4
    576 (0.452)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    577 (0.426)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'journal3/journal3' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    578 (0.388)
    SELECT *
    FROM oc_translation
    WHERE store_id = '0' AND language_id = '2' AND (route = 'common/header' OR route = 'lv')
    /home/pingas/liepinmaja_public_html/catalog/model/design/translation.php:6
    579 (1.186)
    SELECT *
    FROM oc_setting
    WHERE store_id = '0' AND `code` = 'advertise_google'
    /home/pingas/liepinmaja_public_html/catalog/model/setting/setting.php:6