[ ### CLOSE ### ]

mem usage: 0.98MB

mem usage peak: 1.069MB

mem usage true: 2MB

mem usage peak true: 2MB

Queries total count: 59

Queries total time: 0.03058841s



============ 2026-06-05 23:34:55 ============
Query #0
Time:9.298E-5
Query:select * from settings


============ 2026-06-05 23:34:55 ============
Query #1
Time:0.00014997
Query:select * from settings


============ 2026-06-05 23:34:55 ============
Query #2
Time:0.00014186
Query:REPLACE INTO active_guests VALUES ('216.73.217.131', '1780691695', 'English')


============ 2026-06-05 23:34:55 ============
Query #3
Time:0.00010991
Query:SELECT * FROM active_guests


============ 2026-06-05 23:34:55 ============
Query #4
Time:6.509E-5
Query:DELETE FROM active_users WHERE timestamp < '1780690195'


============ 2026-06-05 23:34:55 ============
Query #5
Time:4.292E-5
Query:SELECT * FROM active_users


============ 2026-06-05 23:34:55 ============
Query #6
Time:6.89E-5
Query:DELETE FROM active_guests WHERE timestamp < '1780691095'


============ 2026-06-05 23:34:55 ============
Query #7
Time:6.986E-5
Query:SELECT * FROM active_guests


============ 2026-06-05 23:34:55 ============
Query #8
Time:0.00015092
Query:SELECT id from sessions where session_id = '2fd0b0c6c537793bed57757c9d128df8' and last_active >= (1780691695 - 1800)


============ 2026-06-05 23:34:55 ============
Query #9
Time:0.00010586
Query:UPDATE basket set last_active='2026-06-05 23:34:55' WHERE session_id = '2fd0b0c6c537793bed57757c9d128df8'


============ 2026-06-05 23:34:55 ============
Query #10
Time:0.00012088
Query:DELETE FROM sessions WHERE session_id = '2fd0b0c6c537793bed57757c9d128df8'


============ 2026-06-05 23:34:55 ============
Query #11
Time:0.0001018
Query:INSERT INTO sessions (session_id, ip_address, referrer, page, last_active) VALUES ('2fd0b0c6c537793bed57757c9d128df8', '216.73.217.131', '', '/eng/categories/Professional-Detergents/all/EU-Ecolabel_Cradle-to-Cradle_DermaTest_Austrian-Ecolabel/1', '1780691695')


============ 2026-06-05 23:34:55 ============
Query #12
Time:6.199E-5
Query:delete from sessions WHERE last_active < (UNIX_TIMESTAMP()-1800);


============ 2026-06-05 23:34:55 ============
Query #13
Time:6.199E-5
Query:delete from basket where last_active < '2026-05-06 23:34:55'


============ 2026-06-05 23:34:55 ============
Query #14
Time:4.387E-5
Query:SELECT * FROM active_users


============ 2026-06-05 23:34:55 ============
Query #15
Time:6.509E-5
Query:SELECT * FROM active_guests


============ 2026-06-05 23:34:55 ============
Query #16
Time:5.913E-5
Query:select * from settings


============ 2026-06-05 23:34:55 ============
Query #17
Time:5.889E-5
Query:SELECT * FROM tags


============ 2026-06-05 23:34:55 ============
Query #18
Time:4.697E-5
Query:SELECT * FROM availability


============ 2026-06-05 23:34:55 ============
Query #19
Time:5.388E-5
Query:select * from settings_tracking


============ 2026-06-05 23:34:55 ============
Query #20
Time:9.608E-5
Query:SELECT * FROM misctexts where lang='English' order by text_id asc


============ 2026-06-05 23:34:55 ============
Query #21
Time:0.00043392
Query:SELECT c1.cat_id as c1_cat_id, c1.cat_discount as c1_cat_discount, c2.cat_id as c2_cat_id, c2.cat_discount as c2_cat_discount, c3.cat_id as c3_cat_id, c3.cat_discount as c3_cat_discount, c4.cat_id as c4_cat_id, c4.cat_discount as c4_cat_discount, c5.cat_id as c5_cat_id, c5.cat_discount as c5_cat_discount, c6.cat_id as c6_cat_id, c6.cat_discount as c6_cat_discount from categories as c1 LEFT JOIN categories AS c2 ON c2.cat_father_id = c1.cat_id LEFT JOIN categories AS c3 ON c3.cat_father_id = c2.cat_id LEFT JOIN categories AS c4 ON c4.cat_father_id = c3.cat_id LEFT JOIN categories AS c5 ON c5.cat_father_id = c4.cat_id LEFT JOIN categories AS c6 ON c6.cat_father_id = c5.cat_id where c1.cat_father_id=0 order by c1.cat_id, c2.cat_id, c3.cat_id, c4.cat_id, c5.cat_id, c6.cat_id asc


============ 2026-06-05 23:34:55 ============
Query #22
Time:8.702E-5
Query:select synckey from prodcat_weight_sync where synckey = 'LUes1mqLF6B1LH1PXtIB'


============ 2026-06-05 23:34:55 ============
Query #23
Time:0.00102806
Query:delete from prodcat_weight_sync where prod_id not in (select prod_id from products)


============ 2026-06-05 23:34:55 ============
Query #24
Time:0.00299311
Query:insert ignore into prodcat_weight_sync (prod_id, synckey, synctime) select prod_id, '', '2000-01-01 00:00:00' from products


============ 2026-06-05 23:34:55 ============
Query #25
Time:7.915E-5
Query:update prodcat_weight_sync set synckey='LUes1mqLF6B1LH1PXtIB', synctime=NOW() where synctime < '2026-06-05 22:34:55' limit 10


============ 2026-06-05 23:34:55 ============
Query #26
Time:0.00053287
Query:SELECT products.*, min(products_atts.price) as pricefrom, min(products_atts.pricex) as pricexfrom, count(products_atts.product_id) as attcount from prodcat_weight_sync inner join products on products.prod_id=prodcat_weight_sync.prod_id left join products_atts on products.id=products_atts.product_id WHERE prodcat_weight_sync.synckey='LUes1mqLF6B1LH1PXtIB' group by products.id


============ 2026-06-05 23:34:55 ============
Query #27
Time:0.00016809
Query:SELECT * FROM categories WHERE cat_url_English='Professional-Detergents' and lang='Greek' and hidden='0'


============ 2026-06-05 23:34:55 ============
Query #28
Time:0.00028396
Query:SELECT t1.category AS lev1, t1.cat_id AS clev1, t1.cat_url AS curl1, t2.category as lev2, t2.cat_id AS clev2, t2.cat_url AS curl2, t3.category as lev3, t3.cat_id AS clev3, t3.cat_url AS curl3, t4.category as lev4, t4.cat_id AS clev4, t4.cat_url AS curl4, t5.category as lev5, t5.cat_id AS clev5, t5.cat_url AS curl5
FROM categories AS t1
LEFT JOIN categories AS t2 ON t2.cat_father_id = t1.cat_id and t2.hidden=0
LEFT JOIN categories AS t3 ON t3.cat_father_id = t2.cat_id and t3.hidden=0
LEFT JOIN categories AS t4 ON t4.cat_father_id = t3.cat_id and t4.hidden=0
LEFT JOIN categories AS t5 ON t5.cat_father_id = t4.cat_id and t5.hidden=0
where t1.cat_father_id=806 and t1.hidden=0 order by lev1,lev2,lev3,lev4,lev5 asc


============ 2026-06-05 23:34:55 ============
Query #29
Time:0.00053692
Query:SELECT max(price) as mp1 FROM prodcat_weight WHERE prod_id in (select prod_id from prodcat_weight where cat_id in (816,814,819,817,813,836,815,847,806)) and hidden=0


============ 2026-06-05 23:34:55 ============
Query #30
Time:0.00013113
Query:
SELECT
c1.category_English as c1_category_English, c1.cat_url_English as c1_cat_url_English, c1.cat_id as c1_cat_id, c2.category_English as c2_category_English, c2.cat_url_English as c2_cat_url_English, c2.cat_id as c2_cat_id, c3.category_English as c3_category_English, c3.cat_url_English as c3_cat_url_English, c3.cat_id as c3_cat_id, c4.category_English as c4_category_English, c4.cat_url_English as c4_cat_url_English, c4.cat_id as c4_cat_id, c5.category_English as c5_category_English, c5.cat_url_English as c5_cat_url_English, c5.cat_id as c5_cat_id, c6.category_English as c6_category_English, c6.cat_url_English as c6_cat_url_English, c6.cat_id as c6_cat_id
from categories as c1 LEFT JOIN categories AS c2 ON c2.cat_id = c1.cat_father_id LEFT JOIN categories AS c3 ON c3.cat_id = c2.cat_father_id LEFT JOIN categories AS c4 ON c4.cat_id = c3.cat_father_id LEFT JOIN categories AS c5 ON c5.cat_id = c4.cat_father_id LEFT JOIN categories AS c6 ON c6.cat_id = c5.cat_father_id

where
c1.cat_id='806'



============ 2026-06-05 23:34:55 ============
Query #31
Time:0.00015783
Query:SELECT cat_id , category_English, cat_url_English, cat_image FROM categories WHERE cat_father_id='806' and hidden=0 ORDER BY weight asc


============ 2026-06-05 23:34:55 ============
Query #32
Time:0.00014091
Query:select * from filters where filter_url='EU-Ecolabel' or filter_url='Cradle-to-Cradle' or filter_url='DermaTest' or filter_url='Austrian-Ecolabel'


============ 2026-06-05 23:34:55 ============
Query #33
Time:0.00016594
Query:SELECT `groups`.* FROM `groups` order by weight asc


============ 2026-06-05 23:34:55 ============
Query #34
Time:0.00279903
Query:SELECT distinct(products.supplier), suppliers.supplier_name, suppliers.supplier_url, count(distinct products.prod_id) as total from prodcat_weight inner join products on products.prod_id = prodcat_weight.prod_id inner join products_filters as fl1 on products.id=fl1.product_id inner join suppliers on suppliers.sid=products.supplier WHERE prodcat_weight.cat_id in (816,814,819,817,813,836,815,847,806) and prodcat_weight.hidden='0' and ((fl1.filter_id='273' or fl1.filter_id='32' or fl1.filter_id='338' or fl1.filter_id='33') ) group by products.supplier


============ 2026-06-05 23:34:55 ============
Query #35
Time:0.00788617
Query:SELECT filters.*, count(distinct products.prod_id) as total from prodcat_weight inner join products on products.prod_id = prodcat_weight.prod_id inner join products_filters as fl1 on products.id=fl1.product_id inner join products_filters on products_filters.product_id=products.id inner join filters on products_filters.filter_id=filters.id WHERE prodcat_weight.cat_id in (816,814,819,817,813,836,815,847,806) and prodcat_weight.hidden='0' and ((fl1.filter_id='273' or fl1.filter_id='32' or fl1.filter_id='338' or fl1.filter_id='33') ) group by filters.id order by filters.weight asc


============ 2026-06-05 23:34:55 ============
Query #36
Time:0.00014496
Query:select * from central_banner where image<>'' and lang='English' and position='category' and status='1' order by weight asc


============ 2026-06-05 23:34:55 ============
Query #37
Time:0.00214696
Query:SELECT count(DISTINCT products.prod_id) as total from prodcat_weight inner join products on products.prod_id=prodcat_weight.prod_id inner join products_filters as fl1 on products.id=fl1.product_id WHERE prodcat_weight.cat_id in (816,814,819,817,813,836,815,847,806) and prodcat_weight.hidden='0' and ((fl1.filter_id='273' or fl1.filter_id='32' or fl1.filter_id='338' or fl1.filter_id='33') )


============ 2026-06-05 23:34:55 ============
Query #38
Time:0.00536299
Query:SELECT products.*
, min(products_atts.price) as pricefrom
, min(products_atts.pricex) as pricexfrom
, max(products_atts.price) as priceto
, max(products_atts.pricex) as pricexto

, count(products_atts.product_id) as attcount, products_images.filename as thefile from prodcat_weight inner join products on products.prod_id=prodcat_weight.prod_id inner join products_filters as fl1 on products.id=fl1.product_id left join products_atts on products.id=products_atts.product_id left join products_images on products.prod_id=products_images.prod_id and products_images.firstimg=1 WHERE prodcat_weight.cat_id in (816,814,819,817,813,836,815,847,806) and prodcat_weight.hidden='0' and ((fl1.filter_id='273' or fl1.filter_id='32' or fl1.filter_id='338' or fl1.filter_id='33') ) group by products.id order by prodcat_weight.weight ASC, id desc LIMIT 0, 15


============ 2026-06-05 23:34:55 ============
Query #39
Time:0.00013113
Query:SELECT * FROM products_images where prod_id='1774093295' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 23:34:55 ============
Query #40
Time:0.000108
Query:SELECT * FROM products_images where prod_id='1648032941' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 23:34:55 ============
Query #41
Time:0.00010681
Query:SELECT * FROM products_images where prod_id='1774091854' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 23:34:55 ============
Query #42
Time:0.00010014
Query:SELECT * FROM products_images where prod_id='1647247504' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 23:34:55 ============
Query #43
Time:0.000108
Query:SELECT * FROM products_images where prod_id='1647244901' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 23:34:55 ============
Query #44
Time:0.00010991
Query:SELECT * FROM products_images where prod_id='1647515326' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 23:34:55 ============
Query #45
Time:0.00010991
Query:SELECT * FROM products_images where prod_id='1647440196' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 23:34:55 ============
Query #46
Time:0.00010896
Query:SELECT * FROM products_images where prod_id='1647266347' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 23:34:55 ============
Query #47
Time:0.0001061
Query:SELECT * FROM products_images where prod_id='1647585834' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 23:34:55 ============
Query #48
Time:0.00010705
Query:SELECT * FROM products_images where prod_id='1647080411' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 23:34:55 ============
Query #49
Time:0.00012088
Query:SELECT * FROM products_images where prod_id='1669107405' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 23:34:55 ============
Query #50
Time:0.00012994
Query:SELECT * FROM products_images where prod_id='1669109742' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 23:34:55 ============
Query #51
Time:0.00011206
Query:SELECT * FROM products_images where prod_id='1669117897' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 23:34:55 ============
Query #52
Time:0.00011301
Query:SELECT * FROM products_images where prod_id='1648035110' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 23:34:55 ============
Query #53
Time:0.00010014
Query:SELECT * FROM products_images where prod_id='1669123229' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 23:34:55 ============
Query #54
Time:0.00058818
Query:
SELECT
c1.category_English as c1_category_English, c1.cat_url_English as c1_cat_url_English, c1.cat_id as c1_cat_id, c1.cat_father_id as c1_cat_father_id, c1.cat_image as c1_cat_image, c1.image_caption1 as c1_image_caption1, c2.category_English as c2_category_English, c2.cat_url_English as c2_cat_url_English, c2.cat_id as c2_cat_id, c2.cat_father_id as c2_cat_father_id, c2.cat_image as c2_cat_image, c2.image_caption1 as c2_image_caption1
from categories as c1 LEFT JOIN categories AS c2 ON c2.cat_father_id = c1.cat_id and c2.hidden=0

where
c1.cat_father_id=0 and c1.hidden=0 order by c1.weight, c2.weight asc



============ 2026-06-05 23:34:55 ============
Query #55
Time:0.00055718
Query:
SELECT
c1.category_English as c1_category_English, c1.cat_url_English as c1_cat_url_English, c1.cat_id as c1_cat_id, c1.cat_father_id as c1_cat_father_id, c1.cat_image as c1_cat_image, c1.image_caption1 as c1_image_caption1, c2.category_English as c2_category_English, c2.cat_url_English as c2_cat_url_English, c2.cat_id as c2_cat_id, c2.cat_father_id as c2_cat_father_id, c2.cat_image as c2_cat_image, c2.image_caption1 as c2_image_caption1
from categories as c1 LEFT JOIN categories AS c2 ON c2.cat_father_id = c1.cat_id and c2.hidden=0

where
c1.cat_father_id=0 and c1.hidden=0 order by c1.weight, c2.weight asc



============ 2026-06-05 23:34:55 ============
Query #56
Time:0.00072813
Query:
(SELECT basket.*, products.prod_url as prod_url2, products.id as pid FROM basket inner join products on products.prod_id=basket.product_id WHERE session_id = '2fd0b0c6c537793bed57757c9d128df8' AND basket.is_=0)

union

(SELECT basket.*, paketa_prosforas.p_url as prod_url2, paketa_prosforas.pack_code as pid FROM basket inner join paketa_prosforas on paketa_prosforas.pack_code=basket.product_id WHERE session_id = '2fd0b0c6c537793bed57757c9d128df8' AND basket.is_=1)



============ 2026-06-05 23:34:55 ============
Query #57
Time:0.00011992
Query:select * from central_banner where position='entrypopup' and image<>'' and status='1' order by weight asc limit 1


============ 2026-06-05 23:34:55 ============
Query #58
Time:7.51E-5
Query:select * from central_banner where position='exitpopup' and image<>'' and status='1' order by weight asc limit 1