[ ### CLOSE ### ]

mem usage: 0.785MB

mem usage peak: 0.824MB

mem usage true: 2MB

mem usage peak true: 2MB

Queries total count: 48

Queries total time: 0.01350163s



============ 2026-06-05 21:46:57 ============
Query #0
Time:0.0001111
Query:select * from settings


============ 2026-06-05 21:46:57 ============
Query #1
Time:0.00013399
Query:select * from settings


============ 2026-06-05 21:46:57 ============
Query #2
Time:0.00015402
Query:REPLACE INTO active_guests VALUES ('216.73.217.131', '1780685217', 'Greek')


============ 2026-06-05 21:46:57 ============
Query #3
Time:0.00011301
Query:SELECT * FROM active_guests


============ 2026-06-05 21:46:57 ============
Query #4
Time:6.485E-5
Query:DELETE FROM active_users WHERE timestamp < '1780683717'


============ 2026-06-05 21:46:57 ============
Query #5
Time:4.411E-5
Query:SELECT * FROM active_users


============ 2026-06-05 21:46:57 ============
Query #6
Time:6.294E-5
Query:DELETE FROM active_guests WHERE timestamp < '1780684617'


============ 2026-06-05 21:46:57 ============
Query #7
Time:6.795E-5
Query:SELECT * FROM active_guests


============ 2026-06-05 21:46:57 ============
Query #8
Time:0.00016403
Query:SELECT id from sessions where session_id = 'c2b15c3d7366d82b98be231e6242b0a7' and last_active >= (1780685217 - 1800)


============ 2026-06-05 21:46:57 ============
Query #9
Time:0.00011086
Query:UPDATE basket set last_active='2026-06-05 21:46:57' WHERE session_id = 'c2b15c3d7366d82b98be231e6242b0a7'


============ 2026-06-05 21:46:57 ============
Query #10
Time:8.893E-5
Query:UPDATE sessions set last_active='1780685217', referrer='', page='/ell/categories/Xartika-Katharismoy/Scott/Xeiropetseta-se-Rolo-Autocut_Food-Safe_EU-Ecolabel/1' where session_id = 'c2b15c3d7366d82b98be231e6242b0a7'


============ 2026-06-05 21:46:57 ============
Query #11
Time:6.104E-5
Query:delete from sessions WHERE last_active < (UNIX_TIMESTAMP()-1800);


============ 2026-06-05 21:46:57 ============
Query #12
Time:6.008E-5
Query:delete from basket where last_active < '2026-05-06 21:46:57'


============ 2026-06-05 21:46:57 ============
Query #13
Time:5.293E-5
Query:SELECT * FROM active_users


============ 2026-06-05 21:46:57 ============
Query #14
Time:7.296E-5
Query:SELECT * FROM active_guests


============ 2026-06-05 21:46:57 ============
Query #15
Time:5.484E-5
Query:select * from settings


============ 2026-06-05 21:46:57 ============
Query #16
Time:5.293E-5
Query:SELECT * FROM tags


============ 2026-06-05 21:46:57 ============
Query #17
Time:4.601E-5
Query:SELECT * FROM availability


============ 2026-06-05 21:46:57 ============
Query #18
Time:5.507E-5
Query:select * from settings_tracking


============ 2026-06-05 21:46:57 ============
Query #19
Time:9.298E-5
Query:SELECT * FROM misctexts where lang='Greek' order by text_id asc


============ 2026-06-05 21:46:57 ============
Query #20
Time:0.00042486
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 21:46:57 ============
Query #21
Time:9.108E-5
Query:select synckey from prodcat_weight_sync where synckey = 'iUKDNE0j7Z72vdSgsG7Z'


============ 2026-06-05 21:46:57 ============
Query #22
Time:0.00105095
Query:delete from prodcat_weight_sync where prod_id not in (select prod_id from products)


============ 2026-06-05 21:46:57 ============
Query #23
Time:0.00307202
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 21:46:57 ============
Query #24
Time:7.987E-5
Query:update prodcat_weight_sync set synckey='iUKDNE0j7Z72vdSgsG7Z', synctime=NOW() where synctime < '2026-06-05 20:46:57' limit 10


============ 2026-06-05 21:46:57 ============
Query #25
Time:0.0005281
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='iUKDNE0j7Z72vdSgsG7Z' group by products.id


============ 2026-06-05 21:46:57 ============
Query #26
Time:0.00013399
Query:SELECT * FROM categories WHERE cat_url='Xartika-Katharismoy' and lang='Greek' and hidden='0'


============ 2026-06-05 21:46:57 ============
Query #27
Time:0.00026703
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=805 and t1.hidden=0 order by lev1,lev2,lev3,lev4,lev5 asc


============ 2026-06-05 21:46:57 ============
Query #28
Time:0.00048304
Query:SELECT max(price) as mp1 FROM prodcat_weight WHERE prod_id in (select prod_id from prodcat_weight where cat_id in (818,812,839,809,811,810,805)) and hidden=0


============ 2026-06-05 21:46:57 ============
Query #29
Time:0.00012398
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='805'



============ 2026-06-05 21:46:57 ============
Query #30
Time:0.00013494
Query:SELECT cat_id , category, cat_url, cat_image FROM categories WHERE cat_father_id='805' and hidden=0 ORDER BY weight asc


============ 2026-06-05 21:46:57 ============
Query #31
Time:0.00012589
Query:select * from filters where filter_url='Xeiropetseta-se-Rolo-Autocut' or filter_url='Food-Safe' or filter_url='EU-Ecolabel'


============ 2026-06-05 21:46:57 ============
Query #32
Time:0.000175
Query:SELECT `groups`.* FROM `groups` order by weight asc


============ 2026-06-05 21:46:57 ============
Query #33
Time:0.00065207
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 WHERE prodcat_weight.cat_id in (818,812,839,809,811,810,805) and prodcat_weight.hidden='0' and ((fl1.filter_id='33' or fl1.filter_id='250') and (fl2.filter_id='184') ) group by products.supplier


============ 2026-06-05 21:46:57 ============
Query #34
Time:0.00055122
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 on products_filters.product_id=products.id inner join filters on products_filters.filter_id=filters.id WHERE prodcat_weight.cat_id in (818,812,839,809,811,810,805) and prodcat_weight.hidden='0' and suppliers.supplier_url='Scott' and ((fl1.filter_id='33' or fl1.filter_id='250') and (fl2.filter_id='184') ) group by filters.id order by filters.weight asc


============ 2026-06-05 21:46:57 ============
Query #35
Time:0.00011587
Query:select * from central_banner where image<>'' and lang='Greek' and position='category' and status='1' order by weight asc


============ 2026-06-05 21:46:57 ============
Query #36
Time:0.00030684
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 WHERE prodcat_weight.cat_id in (818,812,839,809,811,810,805) and prodcat_weight.hidden='0' and suppliers.supplier_url='Scott' and ((fl1.filter_id='33' or fl1.filter_id='250') and (fl2.filter_id='184') )


============ 2026-06-05 21:46:57 ============
Query #37
Time:0.00083208
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 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 (818,812,839,809,811,810,805) and prodcat_weight.hidden='0' and suppliers.supplier_url='Scott' and ((fl1.filter_id='33' or fl1.filter_id='250') and (fl2.filter_id='184') ) group by products.id order by prodcat_weight.weight ASC, id desc LIMIT 0, 15


============ 2026-06-05 21:46:57 ============
Query #38
Time:0.00014496
Query:SELECT * FROM products_images where prod_id='1658924538' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 21:46:57 ============
Query #39
Time:0.00011706
Query:SELECT * FROM products_images where prod_id='1658928943' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 21:46:57 ============
Query #40
Time:0.00012708
Query:SELECT * FROM products_images where prod_id='1658926557' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 21:46:57 ============
Query #41
Time:0.00011492
Query:SELECT * FROM products_images where prod_id='1684767165' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 21:46:57 ============
Query #42
Time:0.00012493
Query:SELECT * FROM products_images where prod_id='1768499029' and firstimg=0 ORDER BY weight, id asc limit 0,1


============ 2026-06-05 21:46:57 ============
Query #43
Time:0.00053811
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 21:46:57 ============
Query #44
Time:0.00056601
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 21:46:57 ============
Query #45
Time:0.00076222
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 = 'c2b15c3d7366d82b98be231e6242b0a7' 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 = 'c2b15c3d7366d82b98be231e6242b0a7' AND basket.is_=1)



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


============ 2026-06-05 21:46:57 ============
Query #47
Time:7.677E-5
Query:select * from central_banner where position='exitpopup' and image<>'' and status='1' order by weight asc limit 1