[ ### CLOSE ### ]

mem usage: 0.733MB

mem usage peak: 0.768MB

mem usage true: 2MB

mem usage peak true: 2MB

Queries total count: 45

Queries total time: 0.01274252s



============ 2026-06-05 23:24:15 ============
Query #0
Time:0.00010705
Query:select * from settings


============ 2026-06-05 23:24:15 ============
Query #1
Time:9.012E-5
Query:select * from settings


============ 2026-06-05 23:24:15 ============
Query #2
Time:9.322E-5
Query:REPLACE INTO active_guests VALUES ('216.73.217.131', '1780691055', 'Greek')


============ 2026-06-05 23:24:15 ============
Query #3
Time:0.00010204
Query:SELECT * FROM active_guests


============ 2026-06-05 23:24:15 ============
Query #4
Time:5.698E-5
Query:DELETE FROM active_users WHERE timestamp < '1780689555'


============ 2026-06-05 23:24:15 ============
Query #5
Time:5.007E-5
Query:SELECT * FROM active_users


============ 2026-06-05 23:24:15 ============
Query #6
Time:6.819E-5
Query:DELETE FROM active_guests WHERE timestamp < '1780690455'


============ 2026-06-05 23:24:15 ============
Query #7
Time:8.297E-5
Query:SELECT * FROM active_guests


============ 2026-06-05 23:24:15 ============
Query #8
Time:0.00012517
Query:SELECT id from sessions where session_id = '2ffabbfa49b10ca3db29c61e8a775a42' and last_active >= (1780691055 - 1800)


============ 2026-06-05 23:24:15 ============
Query #9
Time:0.00011611
Query:UPDATE basket set last_active='2026-06-05 23:24:15' WHERE session_id = '2ffabbfa49b10ca3db29c61e8a775a42'


============ 2026-06-05 23:24:15 ============
Query #10
Time:6.986E-5
Query:DELETE FROM sessions WHERE session_id = '2ffabbfa49b10ca3db29c61e8a775a42'


============ 2026-06-05 23:24:15 ============
Query #11
Time:0.0001049
Query:INSERT INTO sessions (session_id, ip_address, referrer, page, last_active) VALUES ('2ffabbfa49b10ca3db29c61e8a775a42', '216.73.217.131', '', '/ell/categories/Xeiropetsetes/Lucart/Food-Safe_Syvoylio-iaxeirisis-ton-ason-FSC_Z-FOLD_2fyllo/1', '1780691055')


============ 2026-06-05 23:24:15 ============
Query #12
Time:0.00014687
Query:delete from sessions WHERE last_active < (UNIX_TIMESTAMP()-1800);


============ 2026-06-05 23:24:15 ============
Query #13
Time:7.51E-5
Query:delete from basket where last_active < '2026-05-06 23:24:15'


============ 2026-06-05 23:24:15 ============
Query #14
Time:5.388E-5
Query:SELECT * FROM active_users


============ 2026-06-05 23:24:15 ============
Query #15
Time:9.203E-5
Query:SELECT * FROM active_guests


============ 2026-06-05 23:24:15 ============
Query #16
Time:7.01E-5
Query:select * from settings


============ 2026-06-05 23:24:15 ============
Query #17
Time:6.795E-5
Query:SELECT * FROM tags


============ 2026-06-05 23:24:15 ============
Query #18
Time:6.89E-5
Query:SELECT * FROM availability


============ 2026-06-05 23:24:15 ============
Query #19
Time:7.105E-5
Query:select * from settings_tracking


============ 2026-06-05 23:24:15 ============
Query #20
Time:0.00011611
Query:SELECT * FROM misctexts where lang='Greek' order by text_id asc


============ 2026-06-05 23:24:15 ============
Query #21
Time:0.00043488
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:24:15 ============
Query #22
Time:0.00012302
Query:select synckey from prodcat_weight_sync where synckey = '1yunrhsC8oy4VxgIQwMt'


============ 2026-06-05 23:24:15 ============
Query #23
Time:0.0010221
Query:delete from prodcat_weight_sync where prod_id not in (select prod_id from products)


============ 2026-06-05 23:24:15 ============
Query #24
Time:0.00303006
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:24:15 ============
Query #25
Time:7.701E-5
Query:update prodcat_weight_sync set synckey='1yunrhsC8oy4VxgIQwMt', synctime=NOW() where synctime < '2026-06-05 22:24:15' limit 10


============ 2026-06-05 23:24:15 ============
Query #26
Time:0.00049114
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='1yunrhsC8oy4VxgIQwMt' group by products.id


============ 2026-06-05 23:24:15 ============
Query #27
Time:0.00015783
Query:SELECT * FROM categories WHERE cat_url='Xeiropetsetes' and lang='Greek' and hidden='0'


============ 2026-06-05 23:24:15 ============
Query #28
Time:0.00020194
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=810 and t1.hidden=0 order by lev1,lev2,lev3,lev4,lev5 asc


============ 2026-06-05 23:24:15 ============
Query #29
Time:0.00074506
Query:SELECT max(price) as mp1 FROM prodcat_weight WHERE prod_id in (select prod_id from prodcat_weight where cat_id in (810)) and hidden=0


============ 2026-06-05 23:24:15 ============
Query #30
Time:0.00012302
Query:
SELECT
c1.category as c1_category, c1.cat_url as c1_cat_url, c1.cat_id as c1_cat_id, c2.category as c2_category, c2.cat_url as c2_cat_url, c2.cat_id as c2_cat_id, c3.category as c3_category, c3.cat_url as c3_cat_url, c3.cat_id as c3_cat_id, c4.category as c4_category, c4.cat_url as c4_cat_url, c4.cat_id as c4_cat_id, c5.category as c5_category, c5.cat_url as c5_cat_url, c5.cat_id as c5_cat_id, c6.category as c6_category, c6.cat_url as c6_cat_url, 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='810'



============ 2026-06-05 23:24:15 ============
Query #31
Time:0.00011706
Query:SELECT cat_id , category, cat_url, cat_image FROM categories WHERE cat_father_id='810' and hidden=0 ORDER BY weight asc


============ 2026-06-05 23:24:15 ============
Query #32
Time:0.00013399
Query:select * from filters where filter_url='Food-Safe' or filter_url='Syvoylio-iaxeirisis-ton-ason-FSC' or filter_url='Z-FOLD' or filter_url='2fyllo'


============ 2026-06-05 23:24:15 ============
Query #33
Time:0.00017214
Query:SELECT `groups`.* FROM `groups` order by weight asc


============ 2026-06-05 23:24:15 ============
Query #34
Time:0.00056505
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 suppliers on suppliers.sid=products.supplier inner join products_filters as fl1 on products.id=fl1.product_id inner join products_filters as fl2 on products.id=fl2.product_id inner join products_filters as fl3 on products.id=fl3.product_id WHERE prodcat_weight.cat_id in (810) and prodcat_weight.hidden='0' and ((fl1.filter_id='126') and (fl2.filter_id='250' or fl2.filter_id='34') and (fl3.filter_id='255') ) group by products.supplier


============ 2026-06-05 23:24:15 ============
Query #35
Time:0.00034189
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 suppliers on suppliers.sid=products.supplier inner join products_filters as fl1 on products.id=fl1.product_id inner join products_filters as fl2 on products.id=fl2.product_id inner join products_filters as fl3 on products.id=fl3.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 (810) and prodcat_weight.hidden='0' and suppliers.supplier_url='Lucart' and ((fl1.filter_id='126') and (fl2.filter_id='250' or fl2.filter_id='34') and (fl3.filter_id='255') ) group by filters.id order by filters.weight asc


============ 2026-06-05 23:24:15 ============
Query #36
Time:0.00012589
Query:select * from central_banner where image<>'' and lang='Greek' and position='category' and status='1' order by weight asc


============ 2026-06-05 23:24:15 ============
Query #37
Time:0.00023723
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 suppliers on suppliers.sid=products.supplier inner join products_filters as fl1 on products.id=fl1.product_id inner join products_filters as fl2 on products.id=fl2.product_id inner join products_filters as fl3 on products.id=fl3.product_id WHERE prodcat_weight.cat_id in (810) and prodcat_weight.hidden='0' and suppliers.supplier_url='Lucart' and ((fl1.filter_id='126') and (fl2.filter_id='250' or fl2.filter_id='34') and (fl3.filter_id='255') )


============ 2026-06-05 23:24:15 ============
Query #38
Time:0.00065589
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 suppliers on suppliers.sid=products.supplier inner join products_filters as fl1 on products.id=fl1.product_id inner join products_filters as fl2 on products.id=fl2.product_id inner join products_filters as fl3 on products.id=fl3.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 (810) and prodcat_weight.hidden='0' and suppliers.supplier_url='Lucart' and ((fl1.filter_id='126') and (fl2.filter_id='250' or fl2.filter_id='34') and (fl3.filter_id='255') ) group by products.id order by prodcat_weight.weight ASC, id desc LIMIT 0, 15


============ 2026-06-05 23:24:15 ============
Query #39
Time:0.00012589
Query:SELECT * FROM products_images where prod_id='1772574202' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 23:24:15 ============
Query #40
Time:0.00053692
Query:
SELECT
c1.category as c1_category, c1.cat_url as c1_cat_url, 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 as c2_category, c2.cat_url as c2_cat_url, 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:24:15 ============
Query #41
Time:0.00059009
Query:
SELECT
c1.category as c1_category, c1.cat_url as c1_cat_url, 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 as c2_category, c2.cat_url as c2_cat_url, 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:24:15 ============
Query #42
Time:0.00071287
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 = '2ffabbfa49b10ca3db29c61e8a775a42' 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 = '2ffabbfa49b10ca3db29c61e8a775a42' AND basket.is_=1)



============ 2026-06-05 23:24:15 ============
Query #43
Time:0.00011206
Query:select * from central_banner where position='entrypopup' and image<>'' and status='1' order by weight asc limit 1


============ 2026-06-05 23:24:15 ============
Query #44
Time:8.082E-5
Query:select * from central_banner where position='exitpopup' and image<>'' and status='1' order by weight asc limit 1