| 1 |
12.17 ms |
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 WHERE t0.slug = ? LIMIT 1
Parameters: [
"mlj592-liu-jo-mod-mlj592"
]
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 WHERE t0.slug = 'mlj592-liu-jo-mod-mlj592' LIMIT 1;
|
| 2 |
0.28 ms |
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = ? AND d0_.active = ? AND d0_.starts_at <= ? AND d0_.ends_at >= ? ORDER BY d0_.discount_percentage DESC LIMIT 1
Parameters: [
21558
1
"2026-08-31 08:30:55"
"2026-08-31 08:30:55"
]
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = 21558 AND d0_.active = 1 AND d0_.starts_at <= '2026-08-31 08:30:55' AND d0_.ends_at >= '2026-08-31 08:30:55' ORDER BY d0_.discount_percentage DESC LIMIT 1;
|
| 3 |
0.08 ms |
"START TRANSACTION"
"START TRANSACTION";
|
| 4 |
0.21 ms |
UPDATE product SET views = ?, updated_at = ? WHERE id = ?
Parameters: [
20
"2026-08-31 08:30:55"
21558
]
UPDATE product SET views = 20, updated_at = '2026-08-31 08:30:55' WHERE id = 21558;
|
| 5 |
1.78 ms |
"COMMIT"
|
| 6 |
13.24 ms |
SELECT p0_.id AS id_0 FROM product p0_ WHERE p0_.active = ? AND p0_.images IS NOT NULL AND p0_.images <> '[]'
SELECT p0_.id AS id_0 FROM product p0_ WHERE p0_.active = 1 AND p0_.images IS NOT NULL AND p0_.images <> '[]';
|
| 7 |
0.43 ms |
SELECT p0_.id AS id_0, p0_.cod AS cod_1, p0_.reference AS reference_2, p0_.name AS name_3, p0_.description AS description_4, p0_.slug AS slug_5, p0_.stock AS stock_6, p0_.pvp AS pvp_7, p0_.discount AS discount_8, p0_.net_price AS net_price_9, p0_.extra AS extra_10, p0_.images AS images_11, p0_.created_at AS created_at_12, p0_.updated_at AS updated_at_13, p0_.views AS views_14, p0_.position AS position_15, p0_.active AS active_16, p0_.meta_title AS meta_title_17, p0_.meta_description AS meta_description_18, p0_.meta_keywords AS meta_keywords_19, p0_.brand_id AS brand_id_20 FROM product p0_ WHERE p0_.id IN (?, ?, ?, ?, ?, ?, ?, ?)
Parameters: [
16292
16527
22038
26971
21355
18076
9996
4328
]
SELECT p0_.id AS id_0, p0_.cod AS cod_1, p0_.reference AS reference_2, p0_.name AS name_3, p0_.description AS description_4, p0_.slug AS slug_5, p0_.stock AS stock_6, p0_.pvp AS pvp_7, p0_.discount AS discount_8, p0_.net_price AS net_price_9, p0_.extra AS extra_10, p0_.images AS images_11, p0_.created_at AS created_at_12, p0_.updated_at AS updated_at_13, p0_.views AS views_14, p0_.position AS position_15, p0_.active AS active_16, p0_.meta_title AS meta_title_17, p0_.meta_description AS meta_description_18, p0_.meta_keywords AS meta_keywords_19, p0_.brand_id AS brand_id_20 FROM product p0_ WHERE p0_.id IN (16292, 16527, 22038, 26971, 21355, 18076, 9996, 4328);
|
| 8 |
0.18 ms |
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ WHERE d0_.active = ? AND d0_.starts_at <= ? AND d0_.ends_at >= ?
Parameters: [
1
"2026-08-31 08:30:55"
"2026-08-31 08:30:55"
]
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ WHERE d0_.active = 1 AND d0_.starts_at <= '2026-08-31 08:30:55' AND d0_.ends_at >= '2026-08-31 08:30:55';
|
| 9 |
0.23 ms |
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 INNER JOIN discount_product ON t0.id = discount_product.product_id WHERE discount_product.discount_id = ?
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 INNER JOIN discount_product ON t0.id = discount_product.product_id WHERE discount_product.discount_id = 1;
|
| 10 |
0.21 ms |
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 INNER JOIN discount_product ON t0.id = discount_product.product_id WHERE discount_product.discount_id = ?
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 INNER JOIN discount_product ON t0.id = discount_product.product_id WHERE discount_product.discount_id = 2;
|
| 11 |
13.43 ms |
SELECT p0_.id AS id_0 FROM product p0_ WHERE p0_.active = ? AND p0_.images IS NOT NULL AND p0_.images <> '[]'
SELECT p0_.id AS id_0 FROM product p0_ WHERE p0_.active = 1 AND p0_.images IS NOT NULL AND p0_.images <> '[]';
|
| 12 |
0.32 ms |
SELECT p0_.id AS id_0, p0_.cod AS cod_1, p0_.reference AS reference_2, p0_.name AS name_3, p0_.description AS description_4, p0_.slug AS slug_5, p0_.stock AS stock_6, p0_.pvp AS pvp_7, p0_.discount AS discount_8, p0_.net_price AS net_price_9, p0_.extra AS extra_10, p0_.images AS images_11, p0_.created_at AS created_at_12, p0_.updated_at AS updated_at_13, p0_.views AS views_14, p0_.position AS position_15, p0_.active AS active_16, p0_.meta_title AS meta_title_17, p0_.meta_description AS meta_description_18, p0_.meta_keywords AS meta_keywords_19, p0_.brand_id AS brand_id_20 FROM product p0_ WHERE p0_.id IN (?)
SELECT p0_.id AS id_0, p0_.cod AS cod_1, p0_.reference AS reference_2, p0_.name AS name_3, p0_.description AS description_4, p0_.slug AS slug_5, p0_.stock AS stock_6, p0_.pvp AS pvp_7, p0_.discount AS discount_8, p0_.net_price AS net_price_9, p0_.extra AS extra_10, p0_.images AS images_11, p0_.created_at AS created_at_12, p0_.updated_at AS updated_at_13, p0_.views AS views_14, p0_.position AS position_15, p0_.active AS active_16, p0_.meta_title AS meta_title_17, p0_.meta_description AS meta_description_18, p0_.meta_keywords AS meta_keywords_19, p0_.brand_id AS brand_id_20 FROM product p0_ WHERE p0_.id IN (14644);
|
| 13 |
0.29 ms |
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = ? AND d0_.active = ? AND d0_.starts_at <= ? AND d0_.ends_at >= ? ORDER BY d0_.discount_percentage DESC LIMIT 1
Parameters: [
14644
1
"2026-08-31 08:30:55"
"2026-08-31 08:30:55"
]
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = 14644 AND d0_.active = 1 AND d0_.starts_at <= '2026-08-31 08:30:55' AND d0_.ends_at >= '2026-08-31 08:30:55' ORDER BY d0_.discount_percentage DESC LIMIT 1;
|
| 14 |
28.04 ms |
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.slug AS slug_2, c0_.image AS image_3, c0_.active AS active_4, c0_.position AS position_5, c0_.meta_title AS meta_title_6, c0_.meta_description AS meta_description_7, c0_.meta_keywords AS meta_keywords_8, COUNT(p1_.id) AS sclr_9, c0_.parent_id AS parent_id_10 FROM category c0_ LEFT JOIN product_category p2_ ON c0_.id = p2_.category_id LEFT JOIN product p1_ ON p1_.id = p2_.product_id WHERE c0_.active = ? AND c0_.parent_id IS NULL GROUP BY c0_.id ORDER BY c0_.position ASC, c0_.name ASC
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.slug AS slug_2, c0_.image AS image_3, c0_.active AS active_4, c0_.position AS position_5, c0_.meta_title AS meta_title_6, c0_.meta_description AS meta_description_7, c0_.meta_keywords AS meta_keywords_8, COUNT(p1_.id) AS sclr_9, c0_.parent_id AS parent_id_10 FROM category c0_ LEFT JOIN product_category p2_ ON c0_.id = p2_.category_id LEFT JOIN product p1_ ON p1_.id = p2_.product_id WHERE c0_.active = 1 AND c0_.parent_id IS NULL GROUP BY c0_.id ORDER BY c0_.position ASC, c0_.name ASC;
|
| 15 |
4.79 ms |
SELECT b0_.id AS id_0, b0_.name AS name_1, b0_.slug AS slug_2, b0_.position AS position_3, COUNT(p1_.id) AS sclr_4 FROM brand b0_ LEFT JOIN product p1_ ON b0_.id = p1_.brand_id GROUP BY b0_.id ORDER BY b0_.position ASC, b0_.name ASC
SELECT b0_.id AS id_0, b0_.name AS name_1, b0_.slug AS slug_2, b0_.position AS position_3, COUNT(p1_.id) AS sclr_4 FROM brand b0_ LEFT JOIN product p1_ ON b0_.id = p1_.brand_id GROUP BY b0_.id ORDER BY b0_.position ASC, b0_.name ASC;
|
| 16 |
0.29 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.image AS image_4, t0.active AS active_5, t0.position AS position_6, t0.meta_title AS meta_title_7, t0.meta_description AS meta_description_8, t0.meta_keywords AS meta_keywords_9, t0.parent_id AS parent_id_10 FROM category t0 INNER JOIN product_category ON t0.id = product_category.category_id WHERE product_category.product_id = ?
SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.image AS image_4, t0.active AS active_5, t0.position AS position_6, t0.meta_title AS meta_title_7, t0.meta_description AS meta_description_8, t0.meta_keywords AS meta_keywords_9, t0.parent_id AS parent_id_10 FROM category t0 INNER JOIN product_category ON t0.id = product_category.category_id WHERE product_category.product_id = 21558;
|
| 17 |
27.34 ms |
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.slug AS slug_2, c0_.image AS image_3, c0_.active AS active_4, c0_.position AS position_5, c0_.meta_title AS meta_title_6, c0_.meta_description AS meta_description_7, c0_.meta_keywords AS meta_keywords_8, COUNT(p1_.id) AS sclr_9, c0_.parent_id AS parent_id_10 FROM category c0_ LEFT JOIN product_category p2_ ON c0_.id = p2_.category_id LEFT JOIN product p1_ ON p1_.id = p2_.product_id WHERE c0_.active = ? AND c0_.parent_id IS NULL GROUP BY c0_.id ORDER BY c0_.position ASC, c0_.name ASC
SELECT c0_.id AS id_0, c0_.name AS name_1, c0_.slug AS slug_2, c0_.image AS image_3, c0_.active AS active_4, c0_.position AS position_5, c0_.meta_title AS meta_title_6, c0_.meta_description AS meta_description_7, c0_.meta_keywords AS meta_keywords_8, COUNT(p1_.id) AS sclr_9, c0_.parent_id AS parent_id_10 FROM category c0_ LEFT JOIN product_category p2_ ON c0_.id = p2_.category_id LEFT JOIN product p1_ ON p1_.id = p2_.product_id WHERE c0_.active = 1 AND c0_.parent_id IS NULL GROUP BY c0_.id ORDER BY c0_.position ASC, c0_.name ASC;
|
| 18 |
0.17 ms |
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 WHERE t0.id = 15132;
|
| 19 |
0.21 ms |
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = ? AND d0_.active = ? AND d0_.starts_at <= ? AND d0_.ends_at >= ? ORDER BY d0_.discount_percentage DESC LIMIT 1
Parameters: [
15132
1
"2026-08-31 08:30:55"
"2026-08-31 08:30:55"
]
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = 15132 AND d0_.active = 1 AND d0_.starts_at <= '2026-08-31 08:30:55' AND d0_.ends_at >= '2026-08-31 08:30:55' ORDER BY d0_.discount_percentage DESC LIMIT 1;
|
| 20 |
0.14 ms |
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 WHERE t0.id = 25953;
|
| 21 |
0.20 ms |
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = ? AND d0_.active = ? AND d0_.starts_at <= ? AND d0_.ends_at >= ? ORDER BY d0_.discount_percentage DESC LIMIT 1
Parameters: [
25953
1
"2026-08-31 08:30:55"
"2026-08-31 08:30:55"
]
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = 25953 AND d0_.active = 1 AND d0_.starts_at <= '2026-08-31 08:30:55' AND d0_.ends_at >= '2026-08-31 08:30:55' ORDER BY d0_.discount_percentage DESC LIMIT 1;
|
| 22 |
0.14 ms |
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 WHERE t0.id = 24411;
|
| 23 |
0.19 ms |
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = ? AND d0_.active = ? AND d0_.starts_at <= ? AND d0_.ends_at >= ? ORDER BY d0_.discount_percentage DESC LIMIT 1
Parameters: [
24411
1
"2026-08-31 08:30:55"
"2026-08-31 08:30:55"
]
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = 24411 AND d0_.active = 1 AND d0_.starts_at <= '2026-08-31 08:30:55' AND d0_.ends_at >= '2026-08-31 08:30:55' ORDER BY d0_.discount_percentage DESC LIMIT 1;
|
| 24 |
0.13 ms |
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 WHERE t0.id = 15106;
|
| 25 |
0.19 ms |
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = ? AND d0_.active = ? AND d0_.starts_at <= ? AND d0_.ends_at >= ? ORDER BY d0_.discount_percentage DESC LIMIT 1
Parameters: [
15106
1
"2026-08-31 08:30:55"
"2026-08-31 08:30:55"
]
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = 15106 AND d0_.active = 1 AND d0_.starts_at <= '2026-08-31 08:30:55' AND d0_.ends_at >= '2026-08-31 08:30:55' ORDER BY d0_.discount_percentage DESC LIMIT 1;
|
| 26 |
0.13 ms |
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 WHERE t0.id = 15658;
|
| 27 |
0.17 ms |
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = ? AND d0_.active = ? AND d0_.starts_at <= ? AND d0_.ends_at >= ? ORDER BY d0_.discount_percentage DESC LIMIT 1
Parameters: [
15658
1
"2026-08-31 08:30:55"
"2026-08-31 08:30:55"
]
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = 15658 AND d0_.active = 1 AND d0_.starts_at <= '2026-08-31 08:30:55' AND d0_.ends_at >= '2026-08-31 08:30:55' ORDER BY d0_.discount_percentage DESC LIMIT 1;
|
| 28 |
0.12 ms |
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 WHERE t0.id = 15363;
|
| 29 |
0.18 ms |
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = ? AND d0_.active = ? AND d0_.starts_at <= ? AND d0_.ends_at >= ? ORDER BY d0_.discount_percentage DESC LIMIT 1
Parameters: [
15363
1
"2026-08-31 08:30:55"
"2026-08-31 08:30:55"
]
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = 15363 AND d0_.active = 1 AND d0_.starts_at <= '2026-08-31 08:30:55' AND d0_.ends_at >= '2026-08-31 08:30:55' ORDER BY d0_.discount_percentage DESC LIMIT 1;
|
| 30 |
0.14 ms |
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 WHERE t0.id = 15777;
|
| 31 |
0.18 ms |
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = ? AND d0_.active = ? AND d0_.starts_at <= ? AND d0_.ends_at >= ? ORDER BY d0_.discount_percentage DESC LIMIT 1
Parameters: [
15777
1
"2026-08-31 08:30:55"
"2026-08-31 08:30:55"
]
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = 15777 AND d0_.active = 1 AND d0_.starts_at <= '2026-08-31 08:30:55' AND d0_.ends_at >= '2026-08-31 08:30:55' ORDER BY d0_.discount_percentage DESC LIMIT 1;
|
| 32 |
0.16 ms |
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 WHERE t0.id = 15177;
|
| 33 |
0.18 ms |
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = ? AND d0_.active = ? AND d0_.starts_at <= ? AND d0_.ends_at >= ? ORDER BY d0_.discount_percentage DESC LIMIT 1
Parameters: [
15177
1
"2026-08-31 08:30:55"
"2026-08-31 08:30:55"
]
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = 15177 AND d0_.active = 1 AND d0_.starts_at <= '2026-08-31 08:30:55' AND d0_.ends_at >= '2026-08-31 08:30:55' ORDER BY d0_.discount_percentage DESC LIMIT 1;
|
| 34 |
0.12 ms |
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 WHERE t0.id = 15590;
|
| 35 |
0.16 ms |
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = ? AND d0_.active = ? AND d0_.starts_at <= ? AND d0_.ends_at >= ? ORDER BY d0_.discount_percentage DESC LIMIT 1
Parameters: [
15590
1
"2026-08-31 08:30:55"
"2026-08-31 08:30:55"
]
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = 15590 AND d0_.active = 1 AND d0_.starts_at <= '2026-08-31 08:30:55' AND d0_.ends_at >= '2026-08-31 08:30:55' ORDER BY d0_.discount_percentage DESC LIMIT 1;
|
| 36 |
0.11 ms |
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 WHERE t0.id = 15999;
|
| 37 |
0.19 ms |
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = ? AND d0_.active = ? AND d0_.starts_at <= ? AND d0_.ends_at >= ? ORDER BY d0_.discount_percentage DESC LIMIT 1
Parameters: [
15999
1
"2026-08-31 08:30:55"
"2026-08-31 08:30:55"
]
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = 15999 AND d0_.active = 1 AND d0_.starts_at <= '2026-08-31 08:30:55' AND d0_.ends_at >= '2026-08-31 08:30:55' ORDER BY d0_.discount_percentage DESC LIMIT 1;
|
| 38 |
0.13 ms |
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 WHERE t0.id = 15279;
|
| 39 |
0.17 ms |
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = ? AND d0_.active = ? AND d0_.starts_at <= ? AND d0_.ends_at >= ? ORDER BY d0_.discount_percentage DESC LIMIT 1
Parameters: [
15279
1
"2026-08-31 08:30:55"
"2026-08-31 08:30:55"
]
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = 15279 AND d0_.active = 1 AND d0_.starts_at <= '2026-08-31 08:30:55' AND d0_.ends_at >= '2026-08-31 08:30:55' ORDER BY d0_.discount_percentage DESC LIMIT 1;
|
| 40 |
0.13 ms |
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 WHERE t0.id = 24961;
|
| 41 |
0.18 ms |
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = ? AND d0_.active = ? AND d0_.starts_at <= ? AND d0_.ends_at >= ? ORDER BY d0_.discount_percentage DESC LIMIT 1
Parameters: [
24961
1
"2026-08-31 08:30:55"
"2026-08-31 08:30:55"
]
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = 24961 AND d0_.active = 1 AND d0_.starts_at <= '2026-08-31 08:30:55' AND d0_.ends_at >= '2026-08-31 08:30:55' ORDER BY d0_.discount_percentage DESC LIMIT 1;
|
| 42 |
0.12 ms |
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.cod AS cod_2, t0.reference AS reference_3, t0.name AS name_4, t0.description AS description_5, t0.slug AS slug_6, t0.stock AS stock_7, t0.pvp AS pvp_8, t0.discount AS discount_9, t0.net_price AS net_price_10, t0.extra AS extra_11, t0.images AS images_12, t0.created_at AS created_at_13, t0.updated_at AS updated_at_14, t0.views AS views_15, t0.position AS position_16, t0.active AS active_17, t0.meta_title AS meta_title_18, t0.meta_description AS meta_description_19, t0.meta_keywords AS meta_keywords_20, t0.brand_id AS brand_id_21 FROM product t0 WHERE t0.id = 15886;
|
| 43 |
0.17 ms |
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = ? AND d0_.active = ? AND d0_.starts_at <= ? AND d0_.ends_at >= ? ORDER BY d0_.discount_percentage DESC LIMIT 1
Parameters: [
15886
1
"2026-08-31 08:30:55"
"2026-08-31 08:30:55"
]
SELECT d0_.id AS id_0, d0_.name AS name_1, d0_.discount_percentage AS discount_percentage_2, d0_.starts_at AS starts_at_3, d0_.ends_at AS ends_at_4, d0_.active AS active_5 FROM discount d0_ INNER JOIN discount_product d2_ ON d0_.id = d2_.discount_id INNER JOIN product p1_ ON p1_.id = d2_.product_id WHERE p1_.id = 15886 AND d0_.active = 1 AND d0_.starts_at <= '2026-08-31 08:30:55' AND d0_.ends_at >= '2026-08-31 08:30:55' ORDER BY d0_.discount_percentage DESC LIMIT 1;
|