اغلاق
PENL-S INT-105W LED 800+600+400 TASILVI
1 x Controller (15.3%) | 8.10ms |
1 x Booting (12.27%) | 6.50ms |
1 x Configs (7.61%) | 4.03ms |
SET NAMES utf8mb4
131μs0SET SESSION sql_mode=''
146μs0SELECT * FROM `i18n_cat` ORDER BY `default_lang` DESC
127μs2SELECT * FROM `configs`
244μs104SELECT `origin_column`,`translation` FROM `i18n`
WHERE `sub_of`='3' AND `origin_table`='configs'
123μs22SELECT * FROM `countries` ORDER BY `ar_name`
51μs244SELECT p.id,p.`slug`,p.external_id,p.youtube_url,p.3d_url,p.spec_sheet,p.sku,p.date_update,p.warranty,
p.about,p.description,p.cashback,p.title,d.name AS brand,
d.id AS brand_id,p.sub_of,p.tags,p.stock,p.low_stock,p.cost,p.sub_of,IF(od.s,od.s,0) AS sold,
(r.`value_rating` + r.`quality_rating` + r.`price_rating`) /3 AS avg,
(SELECT `file_url` FROM `products_files`
WHERE `sub_of` = p.`id` and `for_quantity` = 0 AND `main` = 1 ORDER BY RAND() limit 1) as `pic_url`,
(SELECT `file_url` FROM `products_files`
WHERE `sub_of` = p.`id` and `for_quantity` = 0 AND `main` != 1 limit 1) as `file_url`,
q.price AS priceMin,q.price AS commercial_price,q.price_before AS market_price,
pc.name AS category,pc.id AS `category_id` FROM `products` p
LEFT JOIN quantities q ON
( q.sub_of = p.id and q.price = (SELECT MIN(`price`) FROM quantities WHERE `sub_of` = p.id))
LEFT JOIN `products_cat` pc ON pc.id= p.sub_of
LEFT JOIN `brands` d ON p.`brand_id` = d.`id`
LEFT JOIN `reviews` r ON r.`sub_of` = p.`id`
LEFT JOIN (SELECT product_id,IF(SUM(quantity),SUM(quantity),0) AS s
FROM `orders_data`
WHERE `sub_of` IN ( SELECT `id` FROM `orders` WHERE `status` < 4 )
GROUP BY product_id ) od ON od.`product_id` = p.`id`
WHERE p.`status` = 1 AND pc.`status`= 1 AND p.`id`='409'
GROUP BY p.id
LIMIT 0,30
757μs1SELECT
`id`,
`title`,
`description`,
`small_description`,
`variations`,
`sub_of`,
`price`,
`price_before`,
`quantity`
FROM `quantities`
WHERE `sub_of` IN (409)
48μs1SELECT * FROM `attributes`
WHERE `type`='quantity'
106μs5SELECT `sub_of`,`cat_id` FROM `attributes_relations`
85μs90SELECT `sub_of`, `file_url`
FROM `products_files`
WHERE `sub_of` IN (422)
AND `for_quantity` = 1
ORDER BY `main` DESC
34μs0SELECT i.`origin_table`, i.`origin_column`, i.`origin_id`, i.`translation`
FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang` = 'ar'
WHERE i.`sub_of` = ic.`id`
AND (i.`origin_table`, i.`origin_column`, i.`origin_id`) IN (('quantities', 'title', '422'),('quantities', 'description', '422'),('quantities', 'small_description', '422'))
235μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='409' Limit 1
181μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='409' Limit 1
153μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='409' Limit 1
146μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
38μs1SELECT * FROM `products_cat` WHERE `sub_of` = 0 AND `status` =1 ORDER BY `sort_id` , `id`
37μs5SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='37' Limit 1
31μs1SELECT * FROM `products_cat` WHERE `sub_of`=37 AND `status` =1 ORDER BY `sort_id` , `id`
35μs5SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
28μs1SELECT * FROM `products_cat` WHERE `sub_of`=38 AND `status` =1 ORDER BY `sort_id` , `id`
35μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='39' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=39 AND `status` =1 ORDER BY `sort_id` , `id`
34μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='40' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=40 AND `status` =1 ORDER BY `sort_id` , `id`
35μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='41' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=41 AND `status` =1 ORDER BY `sort_id` , `id`
35μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='42' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=42 AND `status` =1 ORDER BY `sort_id` , `id`
35μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='8' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=8 AND `status` =1 ORDER BY `sort_id` , `id`
35μs9SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='26' Limit 1
28μs1SELECT * FROM `products_cat` WHERE `sub_of`=26 AND `status` =1 ORDER BY `sort_id` , `id`
34μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='53' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=53 AND `status` =1 ORDER BY `sort_id` , `id`
36μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='27' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=27 AND `status` =1 ORDER BY `sort_id` , `id`
35μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='29' Limit 1
54μs1SELECT * FROM `products_cat` WHERE `sub_of`=29 AND `status` =1 ORDER BY `sort_id` , `id`
124μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='30' Limit 1
22μs1SELECT * FROM `products_cat` WHERE `sub_of`=30 AND `status` =1 ORDER BY `sort_id` , `id`
50μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='45' Limit 1
35μs1SELECT * FROM `products_cat` WHERE `sub_of`=45 AND `status` =1 ORDER BY `sort_id` , `id`
36μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='31' Limit 1
33μs1SELECT * FROM `products_cat` WHERE `sub_of`=31 AND `status` =1 ORDER BY `sort_id` , `id`
36μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='28' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=28 AND `status` =1 ORDER BY `sort_id` , `id`
35μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='32' Limit 1
33μs1SELECT * FROM `products_cat` WHERE `sub_of`=32 AND `status` =1 ORDER BY `sort_id` , `id`
34μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='9' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=9 AND `status` =1 ORDER BY `sort_id` , `id`
36μs11SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='20' Limit 1
27μs1SELECT * FROM `products_cat` WHERE `sub_of`=20 AND `status` =1 ORDER BY `sort_id` , `id`
34μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='21' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=21 AND `status` =1 ORDER BY `sort_id` , `id`
34μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='4' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=4 AND `status` =1 ORDER BY `sort_id` , `id`
34μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='43' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=43 AND `status` =1 ORDER BY `sort_id` , `id`
35μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='44' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=44 AND `status` =1 ORDER BY `sort_id` , `id`
35μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='51' Limit 1
31μs1SELECT * FROM `products_cat` WHERE `sub_of`=51 AND `status` =1 ORDER BY `sort_id` , `id`
39μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='23' Limit 1
31μs1SELECT * FROM `products_cat` WHERE `sub_of`=23 AND `status` =1 ORDER BY `sort_id` , `id`
38μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='24' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=24 AND `status` =1 ORDER BY `sort_id` , `id`
35μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='22' Limit 1
31μs1SELECT * FROM `products_cat` WHERE `sub_of`=22 AND `status` =1 ORDER BY `sort_id` , `id`
34μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='49' Limit 1
33μs1SELECT * FROM `products_cat` WHERE `sub_of`=49 AND `status` =1 ORDER BY `sort_id` , `id`
35μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='25' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=25 AND `status` =1 ORDER BY `sort_id` , `id`
36μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='1' Limit 1
31μs1SELECT * FROM `products_cat` WHERE `sub_of`=1 AND `status` =1 ORDER BY `sort_id` , `id`
34μs2SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='17' Limit 1
30μs1SELECT * FROM `products_cat` WHERE `sub_of`=17 AND `status` =1 ORDER BY `sort_id` , `id`
35μs8SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='56' Limit 1
27μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='58' Limit 1
34μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='59' Limit 1
33μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='60' Limit 1
33μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='61' Limit 1
33μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='62' Limit 1
33μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='63' Limit 1
33μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='64' Limit 1
34μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='18' Limit 1
33μs1SELECT * FROM `products_cat` WHERE `sub_of`=18 AND `status` =1 ORDER BY `sort_id` , `id`
35μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='12' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=12 AND `status` =1 ORDER BY `sort_id` , `id`
35μs0SELECT * FROM `header_ads` WHERE NOW() BETWEEN`date_start` AND `date_expire` AND `status` = 1 ORDER BY `id` DESC Limit 1
156μs0SELECT * FROM `faq_cat` WHERE `status` =1
34μs2SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='faq_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='1' Limit 1
31μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='faq_cat'
AND i.`origin_column`='description'
AND i.`origin_id`='1' Limit 1
33μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='faq_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='2' Limit 1
34μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='faq_cat'
AND i.`origin_column`='description'
AND i.`origin_id`='2' Limit 1
33μs1SELECT * FROM `products_cat` WHERE `id`IN (SELECT `sub_of` FROM `products` WHERE `is_new` = 1) LIMIT 8
36μs8SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='1' Limit 1
26μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='22' Limit 1
32μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='27' Limit 1
33μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='28' Limit 1
34μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='29' Limit 1
33μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
34μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='40' Limit 1
32μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='63' Limit 1
33μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='1' Limit 1
33μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='22' Limit 1
33μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='27' Limit 1
33μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='28' Limit 1
33μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='29' Limit 1
33μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
33μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='40' Limit 1
33μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='63' Limit 1
33μs1SELECT * FROM `pages` WHERE `status` =1 ORDER BY `sort_id`
52μs6SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='pages'
AND i.`origin_column`='title'
AND i.`origin_id`='8' Limit 1
31μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='pages'
AND i.`origin_column`='title'
AND i.`origin_id`='9' Limit 1
32μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='pages'
AND i.`origin_column`='title'
AND i.`origin_id`='5' Limit 1
32μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='pages'
AND i.`origin_column`='title'
AND i.`origin_id`='11' Limit 1
30μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='pages'
AND i.`origin_column`='title'
AND i.`origin_id`='12' Limit 1
31μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='pages'
AND i.`origin_column`='title'
AND i.`origin_id`='13' Limit 1
30μs1INSERT INTO `sessions` ( `admins`,`session`,`last_ip` )VALUES( '0','0c129281ea2bcbb13c3a9a5ae1ee9356','18.191.61.74' )
18.1ms1SELECT * FROM `carts` WHERE `sub_of` IN (195866)
187μs0SELECT * FROM `products_cat` WHERE `sub_of` = 0 AND `status` =1 ORDER BY `sort_id` , `id`
38μs5SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='37' Limit 1
27μs1SELECT * FROM `products_cat` WHERE `sub_of`=37 AND `status` =1 ORDER BY `sort_id` , `id`
35μs5SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
28μs1SELECT * FROM `products_cat` WHERE `sub_of`=38 AND `status` =1 ORDER BY `sort_id` , `id`
35μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='39' Limit 1
31μs1SELECT * FROM `products_cat` WHERE `sub_of`=39 AND `status` =1 ORDER BY `sort_id` , `id`
35μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='40' Limit 1
31μs1SELECT * FROM `products_cat` WHERE `sub_of`=40 AND `status` =1 ORDER BY `sort_id` , `id`
34μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='41' Limit 1
31μs1SELECT * FROM `products_cat` WHERE `sub_of`=41 AND `status` =1 ORDER BY `sort_id` , `id`
35μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='42' Limit 1
39μs1SELECT * FROM `products_cat` WHERE `sub_of`=42 AND `status` =1 ORDER BY `sort_id` , `id`
35μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='8' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=8 AND `status` =1 ORDER BY `sort_id` , `id`
36μs9SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='26' Limit 1
27μs1SELECT * FROM `products_cat` WHERE `sub_of`=26 AND `status` =1 ORDER BY `sort_id` , `id`
36μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='53' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=53 AND `status` =1 ORDER BY `sort_id` , `id`
35μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='27' Limit 1
31μs1SELECT * FROM `products_cat` WHERE `sub_of`=27 AND `status` =1 ORDER BY `sort_id` , `id`
34μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='29' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=29 AND `status` =1 ORDER BY `sort_id` , `id`
34μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='30' Limit 1
31μs1SELECT * FROM `products_cat` WHERE `sub_of`=30 AND `status` =1 ORDER BY `sort_id` , `id`
34μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='45' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=45 AND `status` =1 ORDER BY `sort_id` , `id`
34μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='31' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=31 AND `status` =1 ORDER BY `sort_id` , `id`
34μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='28' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=28 AND `status` =1 ORDER BY `sort_id` , `id`
34μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='32' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=32 AND `status` =1 ORDER BY `sort_id` , `id`
35μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='9' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=9 AND `status` =1 ORDER BY `sort_id` , `id`
36μs11SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='20' Limit 1
31μs1SELECT * FROM `products_cat` WHERE `sub_of`=20 AND `status` =1 ORDER BY `sort_id` , `id`
34μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='21' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=21 AND `status` =1 ORDER BY `sort_id` , `id`
34μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='4' Limit 1
36μs1SELECT * FROM `products_cat` WHERE `sub_of`=4 AND `status` =1 ORDER BY `sort_id` , `id`
34μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='43' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=43 AND `status` =1 ORDER BY `sort_id` , `id`
35μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='44' Limit 1
31μs1SELECT * FROM `products_cat` WHERE `sub_of`=44 AND `status` =1 ORDER BY `sort_id` , `id`
34μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='51' Limit 1
31μs1SELECT * FROM `products_cat` WHERE `sub_of`=51 AND `status` =1 ORDER BY `sort_id` , `id`
34μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='23' Limit 1
29μs1SELECT * FROM `products_cat` WHERE `sub_of`=23 AND `status` =1 ORDER BY `sort_id` , `id`
34μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='24' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=24 AND `status` =1 ORDER BY `sort_id` , `id`
34μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='22' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=22 AND `status` =1 ORDER BY `sort_id` , `id`
34μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='49' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=49 AND `status` =1 ORDER BY `sort_id` , `id`
34μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='25' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=25 AND `status` =1 ORDER BY `sort_id` , `id`
34μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='1' Limit 1
32μs1SELECT * FROM `products_cat` WHERE `sub_of`=1 AND `status` =1 ORDER BY `sort_id` , `id`
35μs2SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='17' Limit 1
31μs1SELECT * FROM `products_cat` WHERE `sub_of`=17 AND `status` =1 ORDER BY `sort_id` , `id`
35μs8SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='56' Limit 1
28μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='58' Limit 1
34μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='59' Limit 1
33μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='60' Limit 1
33μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='61' Limit 1
34μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='62' Limit 1
33μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='63' Limit 1
33μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='64' Limit 1
37μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='18' Limit 1
33μs1SELECT * FROM `products_cat` WHERE `sub_of`=18 AND `status` =1 ORDER BY `sort_id` , `id`
35μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='12' Limit 1
31μs1SELECT * FROM `products_cat` WHERE `sub_of`=12 AND `status` =1 ORDER BY `sort_id` , `id`
34μs0SELECT * FROM `faq_cat` WHERE `status` =1
33μs2SELECT * FROM `pages` WHERE `status` =1 ORDER BY `sort_id`
50μs6SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='pages'
AND i.`origin_column`='title'
AND i.`origin_id`='8' Limit 1
82μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='pages'
AND i.`origin_column`='title'
AND i.`origin_id`='9' Limit 1
33μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='pages'
AND i.`origin_column`='title'
AND i.`origin_id`='5' Limit 1
31μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='pages'
AND i.`origin_column`='title'
AND i.`origin_id`='11' Limit 1
30μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='pages'
AND i.`origin_column`='title'
AND i.`origin_id`='12' Limit 1
30μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='pages'
AND i.`origin_column`='title'
AND i.`origin_id`='13' Limit 1
30μs1SELECT p.id,p.`slug`,p.external_id,p.youtube_url,p.3d_url,p.spec_sheet,p.sku,p.date_update,p.warranty,
p.about,p.description,p.cashback,p.title,d.name AS brand,
d.id AS brand_id,p.sub_of,p.tags,p.stock,p.low_stock,p.cost,p.sub_of,IF(od.s,od.s,0) AS sold,
(r.`value_rating` + r.`quality_rating` + r.`price_rating`) /3 AS avg,
(SELECT `file_url` FROM `products_files`
WHERE `sub_of` = p.`id` and `for_quantity` = 0 AND `main` = 1 ORDER BY RAND() limit 1) as `pic_url`,
(SELECT `file_url` FROM `products_files`
WHERE `sub_of` = p.`id` and `for_quantity` = 0 AND `main` != 1 limit 1) as `file_url`,
q.price AS priceMin,q.price AS commercial_price,q.price_before AS market_price,
pc.name AS category,pc.id AS `category_id` FROM `products` p
LEFT JOIN quantities q ON
( q.sub_of = p.id and q.price = (SELECT MIN(`price`) FROM quantities WHERE `sub_of` = p.id))
LEFT JOIN `products_cat` pc ON pc.id= p.sub_of
LEFT JOIN `brands` d ON p.`brand_id` = d.`id`
LEFT JOIN `reviews` r ON r.`sub_of` = p.`id`
LEFT JOIN (SELECT product_id,IF(SUM(quantity),SUM(quantity),0) AS s
FROM `orders_data`
WHERE `sub_of` IN ( SELECT `id` FROM `orders` WHERE `status` < 4 )
GROUP BY product_id ) od ON od.`product_id` = p.`id`
WHERE p.`status` = 1 AND pc.`status`= 1 AND p.`id`='409'
GROUP BY p.id
LIMIT 0,30
555μs1SELECT
`id`,
`title`,
`description`,
`small_description`,
`variations`,
`sub_of`,
`price`,
`price_before`,
`quantity`
FROM `quantities`
WHERE `sub_of` IN (409)
39μs1SELECT * FROM `attributes`
WHERE `type`='quantity'
37μs5SELECT `sub_of`,`cat_id` FROM `attributes_relations`
33μs90SELECT `sub_of`, `file_url`
FROM `products_files`
WHERE `sub_of` IN (422)
AND `for_quantity` = 1
ORDER BY `main` DESC
31μs0SELECT i.`origin_table`, i.`origin_column`, i.`origin_id`, i.`translation`
FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang` = 'ar'
WHERE i.`sub_of` = ic.`id`
AND (i.`origin_table`, i.`origin_column`, i.`origin_id`) IN (('quantities', 'title', '422'),('quantities', 'description', '422'),('quantities', 'small_description', '422'))
31μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='409' Limit 1
31μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='409' Limit 1
33μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='409' Limit 1
32μs0SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
31μs1SELECT `file_url` FROM `products_files` WHERE `for_quantity` = 0 AND `sub_of` ='409' ORDER BY `main` DESC
166μs3SELECT p.id,p.`slug`,p.external_id,p.youtube_url,p.3d_url,p.spec_sheet,p.sku,p.date_update,p.warranty,
p.about,p.description,p.cashback,p.title,d.name AS brand,
d.id AS brand_id,p.sub_of,p.tags,p.stock,p.low_stock,p.cost,p.sub_of,IF(od.s,od.s,0) AS sold,
(r.`value_rating` + r.`quality_rating` + r.`price_rating`) /3 AS avg,
(SELECT `file_url` FROM `products_files`
WHERE `sub_of` = p.`id` and `for_quantity` = 0 AND `main` = 1 ORDER BY RAND() limit 1) as `pic_url`,
(SELECT `file_url` FROM `products_files`
WHERE `sub_of` = p.`id` and `for_quantity` = 0 AND `main` != 1 limit 1) as `file_url`,
q.price AS priceMin,q.price AS commercial_price,q.price_before AS market_price,
pc.name AS category,pc.id AS `category_id` FROM `products` p
LEFT JOIN quantities q ON
( q.sub_of = p.id and q.price = (SELECT MIN(`price`) FROM quantities WHERE `sub_of` = p.id))
LEFT JOIN `products_cat` pc ON pc.id= p.sub_of
LEFT JOIN `brands` d ON p.`brand_id` = d.`id`
LEFT JOIN `reviews` r ON r.`sub_of` = p.`id`
LEFT JOIN (SELECT product_id,IF(SUM(quantity),SUM(quantity),0) AS s
FROM `orders_data`
WHERE `sub_of` IN ( SELECT `id` FROM `orders` WHERE `status` < 4 )
GROUP BY product_id ) od ON od.`product_id` = p.`id`
WHERE p.`status` = 1 AND pc.`status`= 1 AND p.`sub_of`=38
GROUP BY p.id ORDER BY 5
LIMIT 0,30
1.82ms30SELECT
`id`,
`title`,
`description`,
`small_description`,
`variations`,
`sub_of`,
`price`,
`price_before`,
`quantity`
FROM `quantities`
WHERE `sub_of` IN (312,313,314,316,325,326,327,328,330,331,332,334,335,336,338,339,340,341,342,344,345,346,347,348,349,350,352,353,360,374)
24μs40SELECT * FROM `attributes`
WHERE `type`='quantity'
16μs5SELECT `sub_of`,`cat_id` FROM `attributes_relations`
15μs90SELECT `sub_of`, `file_url`
FROM `products_files`
WHERE `sub_of` IN (316,317,318,319,321,322,331,332,2120,333,334,337,338,339,340,341,343,344,345,347,348,349,350,351,352,354,2162,355,356,357,358,359,360,361,362,364,365,366,373,387)
AND `for_quantity` = 1
ORDER BY `main` DESC
17μs88SELECT i.`origin_table`, i.`origin_column`, i.`origin_id`, i.`translation`
FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang` = 'ar'
WHERE i.`sub_of` = ic.`id`
AND (i.`origin_table`, i.`origin_column`, i.`origin_id`) IN (('quantities', 'title', '316'),('quantities', 'description', '316'),('quantities', 'small_description', '316'),('quantities', 'title', '317'),('quantities', 'description', '317'),('quantities', 'small_description', '317'),('quantities', 'title', '318'),('quantities', 'description', '318'),('quantities', 'small_description', '318'),('quantities', 'title', '319'),('quantities', 'description', '319'),('quantities', 'small_description', '319'),('quantities', 'title', '321'),('quantities', 'description', '321'),('quantities', 'small_description', '321'),('quantities', 'title', '322'),('quantities', 'description', '322'),('quantities', 'small_description', '322'),('quantities', 'title', '331'),('quantities', 'description', '331'),('quantities', 'small_description', '331'),('quantities', 'title', '332'),('quantities', 'description', '332'),('quantities', 'small_description', '332'),('quantities', 'title', '2120'),('quantities', 'description', '2120'),('quantities', 'small_description', '2120'),('quantities', 'title', '333'),('quantities', 'description', '333'),('quantities', 'small_description', '333'),('quantities', 'title', '334'),('quantities', 'description', '334'),('quantities', 'small_description', '334'),('quantities', 'title', '337'),('quantities', 'description', '337'),('quantities', 'small_description', '337'),('quantities', 'title', '338'),('quantities', 'description', '338'),('quantities', 'small_description', '338'),('quantities', 'title', '339'),('quantities', 'description', '339'),('quantities', 'small_description', '339'),('quantities', 'title', '340'),('quantities', 'description', '340'),('quantities', 'small_description', '340'),('quantities', 'title', '341'),('quantities', 'description', '341'),('quantities', 'small_description', '341'),('quantities', 'title', '343'),('quantities', 'description', '343'),('quantities', 'small_description', '343'),('quantities', 'title', '344'),('quantities', 'description', '344'),('quantities', 'small_description', '344'),('quantities', 'title', '345'),('quantities', 'description', '345'),('quantities', 'small_description', '345'),('quantities', 'title', '347'),('quantities', 'description', '347'),('quantities', 'small_description', '347'),('quantities', 'title', '348'),('quantities', 'description', '348'),('quantities', 'small_description', '348'),('quantities', 'title', '349'),('quantities', 'description', '349'),('quantities', 'small_description', '349'),('quantities', 'title', '350'),('quantities', 'description', '350'),('quantities', 'small_description', '350'),('quantities', 'title', '351'),('quantities', 'description', '351'),('quantities', 'small_description', '351'),('quantities', 'title', '352'),('quantities', 'description', '352'),('quantities', 'small_description', '352'),('quantities', 'title', '354'),('quantities', 'description', '354'),('quantities', 'small_description', '354'),('quantities', 'title', '2162'),('quantities', 'description', '2162'),('quantities', 'small_description', '2162'),('quantities', 'title', '355'),('quantities', 'description', '355'),('quantities', 'small_description', '355'),('quantities', 'title', '356'),('quantities', 'description', '356'),('quantities', 'small_description', '356'),('quantities', 'title', '357'),('quantities', 'description', '357'),('quantities', 'small_description', '357'),('quantities', 'title', '358'),('quantities', 'description', '358'),('quantities', 'small_description', '358'),('quantities', 'title', '359'),('quantities', 'description', '359'),('quantities', 'small_description', '359'),('quantities', 'title', '360'),('quantities', 'description', '360'),('quantities', 'small_description', '360'),('quantities', 'title', '361'),('quantities', 'description', '361'),('quantities', 'small_description', '361'),('quantities', 'title', '362'),('quantities', 'description', '362'),('quantities', 'small_description', '362'),('quantities', 'title', '364'),('quantities', 'description', '364'),('quantities', 'small_description', '364'),('quantities', 'title', '365'),('quantities', 'description', '365'),('quantities', 'small_description', '365'),('quantities', 'title', '366'),('quantities', 'description', '366'),('quantities', 'small_description', '366'),('quantities', 'title', '373'),('quantities', 'description', '373'),('quantities', 'small_description', '373'),('quantities', 'title', '387'),('quantities', 'description', '387'),('quantities', 'small_description', '387'))
24μs21SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='312' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='312' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='312' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
18μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='313' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='313' Limit 1
16μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='313' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='314' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='314' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='314' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
12μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='316' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='316' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='316' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
12μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='325' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='325' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='325' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
13μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='326' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='326' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='326' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
13μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='327' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='327' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='327' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
11μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='328' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='328' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='328' Limit 1
12μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
13μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='330' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='330' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='330' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
13μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='331' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='331' Limit 1
16μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='331' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='332' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='332' Limit 1
16μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='332' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
13μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='334' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='334' Limit 1
16μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='334' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
13μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='335' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='335' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='335' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
12μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='336' Limit 1
13μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='336' Limit 1
19μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='336' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
13μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='338' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='338' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='338' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
12μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='339' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='339' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='339' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
13μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='340' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='340' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='340' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
12μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='341' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='341' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='341' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='342' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='342' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='342' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
12μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='344' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='344' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='344' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
12μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='345' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='345' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='345' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
13μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='346' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='346' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='346' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
13μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='347' Limit 1
16μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='347' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='347' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
12μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='348' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='348' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='348' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
13μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='349' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='349' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='349' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
13μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='350' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='350' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='350' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='352' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='352' Limit 1
21μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='352' Limit 1
15μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='353' Limit 1
18μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='353' Limit 1
11μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='353' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
13μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='360' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='360' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='360' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
12μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='title'
AND i.`origin_id`='374' Limit 1
13μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='description'
AND i.`origin_id`='374' Limit 1
16μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products'
AND i.`origin_column`='about'
AND i.`origin_id`='374' Limit 1
14μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
13μs1SELECT * FROM `attributes_products` p LEFT JOIN `attributes` a ON a.`id`=p.`sub_of`
WHERE p.`product_id`= 409 ORDER BY a.`sort_id`
1.68ms19SELECT
( SELECT `id` FROM `products` WHERE `id` >409 LIMIT 1 ) AS next_value,
( SELECT `id` FROM `products` WHERE `id` <409 ORDER BY `id` DESC LIMIT 1 ) AS prev_value
FROM `products` Limit 1
124μs1SELECT c.`name`,c.`id`,c.`sub_of` FROM `products` p
LEFT JOIN `products_cat` c ON p.`sub_of` = c.`id`
WHERE p.`id` =409 AND c.`status` = 1 Limit 1
130μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='38' Limit 1
53μs1SELECT `name`,`id`,`sub_of` FROM `products_cat`
WHERE `id` =37 AND `status` = 1 Limit 1
66μs1SELECT i.`translation` FROM `i18n` i
LEFT JOIN `i18n_cat` ic ON ic.`lang`='ar'
WHERE i.`sub_of`=ic.`id`
AND i.`origin_table`='products_cat'
AND i.`origin_column`='name'
AND i.`origin_id`='37' Limit 1
64μs1SELECT * FROM `quantities` WHERE `sub_of` =409
167μs1SELECT * FROM `attributes`
WHERE `type`='quantity' ORDER BY `sort_id`
42μs5SELECT * FROM `reviews`
WHERE `status`=1 AND `sub_of`=409
118μs0