[ ### CLOSE ### ]

mem usage: 0.938MB

mem usage peak: 1.015MB

mem usage true: 4MB

mem usage peak true: 4MB

Queries total count: 58

Queries total time: 0.02108051s



============ 2026-06-05 20:32:30 ============
Query #0
Time:0.00014901
Query:select * from settings


============ 2026-06-05 20:32:30 ============
Query #1
Time:0.00014496
Query:select * from settings


============ 2026-06-05 20:32:30 ============
Query #2
Time:0.000139
Query:REPLACE INTO active_guests VALUES ('216.73.217.131', '1780680750', 'Greek')


============ 2026-06-05 20:32:30 ============
Query #3
Time:0.0001061
Query:SELECT * FROM active_guests


============ 2026-06-05 20:32:30 ============
Query #4
Time:7.2E-5
Query:DELETE FROM active_users WHERE timestamp < '1780679250'


============ 2026-06-05 20:32:30 ============
Query #5
Time:4.721E-5
Query:SELECT * FROM active_users


============ 2026-06-05 20:32:30 ============
Query #6
Time:6.914E-5
Query:DELETE FROM active_guests WHERE timestamp < '1780680150'


============ 2026-06-05 20:32:30 ============
Query #7
Time:7.01E-5
Query:SELECT * FROM active_guests


============ 2026-06-05 20:32:30 ============
Query #8
Time:0.00015998
Query:SELECT id from sessions where session_id = 'a50f18b599ec40f372c46d108011d230' and last_active >= (1780680750 - 1800)


============ 2026-06-05 20:32:30 ============
Query #9
Time:0.00011516
Query:UPDATE basket set last_active='2026-06-05 20:32:30' WHERE session_id = 'a50f18b599ec40f372c46d108011d230'


============ 2026-06-05 20:32:30 ============
Query #10
Time:9.012E-5
Query:UPDATE sessions set last_active='1780680750', referrer='', page='/ell/categories/Oikologika-Proionta/all/Air-Label-Aplus_EU-Ecolabel_Food-Safe_Ygro/2' where session_id = 'a50f18b599ec40f372c46d108011d230'


============ 2026-06-05 20:32:30 ============
Query #11
Time:0.00010705
Query:delete from sessions WHERE last_active < (UNIX_TIMESTAMP()-1800);


============ 2026-06-05 20:32:30 ============
Query #12
Time:6.604E-5
Query:delete from basket where last_active < '2026-05-06 20:32:30'


============ 2026-06-05 20:32:30 ============
Query #13
Time:4.506E-5
Query:SELECT * FROM active_users


============ 2026-06-05 20:32:30 ============
Query #14
Time:6.795E-5
Query:SELECT * FROM active_guests


============ 2026-06-05 20:32:30 ============
Query #15
Time:5.889E-5
Query:select * from settings


============ 2026-06-05 20:32:30 ============
Query #16
Time:5.507E-5
Query:SELECT * FROM tags


============ 2026-06-05 20:32:30 ============
Query #17
Time:4.601E-5
Query:SELECT * FROM availability


============ 2026-06-05 20:32:30 ============
Query #18
Time:5.507E-5
Query:select * from settings_tracking


============ 2026-06-05 20:32:30 ============
Query #19
Time:9.704E-5
Query:SELECT * FROM misctexts where lang='Greek' order by text_id asc


============ 2026-06-05 20:32:30 ============
Query #20
Time:0.00043821
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 20:32:30 ============
Query #21
Time:0.00011301
Query:select synckey from prodcat_weight_sync where synckey = 'ocIXOGJtqudfidmnN38L'


============ 2026-06-05 20:32:30 ============
Query #22
Time:0.00103498
Query:delete from prodcat_weight_sync where prod_id not in (select prod_id from products)


============ 2026-06-05 20:32:30 ============
Query #23
Time:0.00300908
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 20:32:30 ============
Query #24
Time:9.084E-5
Query:update prodcat_weight_sync set synckey='ocIXOGJtqudfidmnN38L', synctime=NOW() where synctime < '2026-06-05 19:32:30' limit 10


============ 2026-06-05 20:32:30 ============
Query #25
Time:0.00054288
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='ocIXOGJtqudfidmnN38L' group by products.id


============ 2026-06-05 20:32:30 ============
Query #26
Time:0.00014186
Query:SELECT * FROM categories WHERE cat_url='Oikologika-Proionta' and lang='Greek' and hidden='0'


============ 2026-06-05 20:32:30 ============
Query #27
Time:0.00021601
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=848 and t1.hidden=0 order by lev1,lev2,lev3,lev4,lev5 asc


============ 2026-06-05 20:32:30 ============
Query #28
Time:0.00045896
Query:SELECT max(price) as mp1 FROM prodcat_weight WHERE prod_id in (select prod_id from prodcat_weight where cat_id in (850,849,848)) and hidden=0


============ 2026-06-05 20:32:30 ============
Query #29
Time:0.00012207
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='848'



============ 2026-06-05 20:32:30 ============
Query #30
Time:0.000108
Query:SELECT cat_id , category, cat_url, cat_image FROM categories WHERE cat_father_id='848' and hidden=0 ORDER BY weight asc


============ 2026-06-05 20:32:30 ============
Query #31
Time:0.00014091
Query:select * from filters where filter_url='Air-Label-Aplus' or filter_url='EU-Ecolabel' or filter_url='Food-Safe' or filter_url='Ygro'


============ 2026-06-05 20:32:30 ============
Query #32
Time:0.00016904
Query:SELECT `groups`.* FROM `groups` order by weight asc


============ 2026-06-05 20:32:30 ============
Query #33
Time:0.00150084
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 products_filters as fl2 on products.id=fl2.product_id inner join suppliers on suppliers.sid=products.supplier WHERE prodcat_weight.cat_id in (850,849,848) and prodcat_weight.hidden='0' and ((fl1.filter_id='274' or fl1.filter_id='33' or fl1.filter_id='250') and (fl2.filter_id='62') ) group by products.supplier


============ 2026-06-05 20:32:30 ============
Query #34
Time:0.00297284
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 as fl2 on products.id=fl2.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 (850,849,848) and prodcat_weight.hidden='0' and ((fl1.filter_id='274' or fl1.filter_id='33' or fl1.filter_id='250') and (fl2.filter_id='62') ) group by filters.id order by filters.weight asc


============ 2026-06-05 20:32:30 ============
Query #35
Time:0.00013399
Query:select * from central_banner where image<>'' and lang='Greek' and position='category' and status='1' order by weight asc


============ 2026-06-05 20:32:30 ============
Query #36
Time:0.00111389
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 inner join products_filters as fl2 on products.id=fl2.product_id WHERE prodcat_weight.cat_id in (850,849,848) and prodcat_weight.hidden='0' and ((fl1.filter_id='274' or fl1.filter_id='33' or fl1.filter_id='250') and (fl2.filter_id='62') )


============ 2026-06-05 20:32:30 ============
Query #37
Time:0.00295305
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 inner join products_filters as fl2 on products.id=fl2.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 (850,849,848) and prodcat_weight.hidden='0' and ((fl1.filter_id='274' or fl1.filter_id='33' or fl1.filter_id='250') and (fl2.filter_id='62') ) group by products.id order by prodcat_weight.weight ASC, id desc LIMIT 15, 15


============ 2026-06-05 20:32:30 ============
Query #38
Time:0.00013399
Query:SELECT * FROM products_images where prod_id='1648126886' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 20:32:30 ============
Query #39
Time:0.0001061
Query:SELECT * FROM products_images where prod_id='1648127295' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 20:32:30 ============
Query #40
Time:0.00011897
Query:SELECT * FROM products_images where prod_id='1668941947' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 20:32:30 ============
Query #41
Time:0.00010014
Query:SELECT * FROM products_images where prod_id='1674733247' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 20:32:30 ============
Query #42
Time:9.799E-5
Query:SELECT * FROM products_images where prod_id='1674742303' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 20:32:30 ============
Query #43
Time:9.894E-5
Query:SELECT * FROM products_images where prod_id='1705256843' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 20:32:30 ============
Query #44
Time:9.799E-5
Query:SELECT * FROM products_images where prod_id='1738701039' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 20:32:30 ============
Query #45
Time:0.00018001
Query:SELECT * FROM products_images where prod_id='1647266347' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 20:32:30 ============
Query #46
Time:0.00015378
Query:SELECT * FROM products_images where prod_id='1738522955' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 20:32:30 ============
Query #47
Time:0.00015903
Query:SELECT * FROM products_images where prod_id='1647244901' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 20:32:30 ============
Query #48
Time:0.00016713
Query:SELECT * FROM products_images where prod_id='1647440196' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 20:32:30 ============
Query #49
Time:0.00015998
Query:SELECT * FROM products_images where prod_id='1647515326' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 20:32:30 ============
Query #50
Time:0.00015402
Query:SELECT * FROM products_images where prod_id='1647585834' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 20:32:30 ============
Query #51
Time:0.00015903
Query:SELECT * FROM products_images where prod_id='1707049262' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 20:32:30 ============
Query #52
Time:0.00010705
Query:SELECT * FROM products_images where prod_id='1707063960' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 20:32:30 ============
Query #53
Time:0.00055718
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 20:32:30 ============
Query #54
Time:0.00055885
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 20:32:30 ============
Query #55
Time:0.00074697
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 = 'a50f18b599ec40f372c46d108011d230' 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 = 'a50f18b599ec40f372c46d108011d230' AND basket.is_=1)



============ 2026-06-05 20:32:30 ============
Query #56
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 20:32:30 ============
Query #57
Time:8.202E-5
Query:select * from central_banner where position='exitpopup' and image<>'' and status='1' order by weight asc limit 1