#1
⏱️ 80.41 мс
select "id" from "stores" where "is_active" = ? and "city_slug" = ?
Bindings:
[true,"tel-aviv"]
#2
⏱️ 299.28 мс
select count(*) as "aggregate" from "master_products" where "barcode" is not null and "category_slug" = ? and "subcategory_slug" = ? and (exists (select 1 from "store_prices" where "store_prices"."master_product_id" = "master_products"."id" and "store_prices"."store_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) or exists (select 1 from "deals" where "deals"."master_product_id" = "master_products"."id" and "deals"."is_active" = ? and "deals"."store_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)))
Bindings:
["baby","baby_nutrition",729,747,757,758,772,774,189,117,260,1129,1131,1132,1139,1147,1151,1155,1177,1209,1217,1236,1240,1243,1245,1251,587,1277,1285,1289,610,1296,627,1303,1316,1320,1330,1342,42,43,48,51,55,63,65,68,70,291,341,425,433,440,444,449,456,466,491,495,496,507,512,513,514,515,516,527,1353,1355,1359,551,561,562,563,564,565,566,568,569,570,571,572,574,576,577,581,582,649,674,680,1377,1382,1405,1412,19,27,31,97,138,176,178,185,192,193,201,204,207,210,251,244,245,266,277,294,297,307,310,311,313,322,327,328,336,337,357,359,361,362,370,true,729,747,757,758,772,774,189,117,260,1129,1131,1132,1139,1147,1151,1155,1177,1209,1217,1236,1240,1243,1245,1251,587,1277,1285,1289,610,1296,627,1303,1316,1320,1330,1342,42,43,48,51,55,63,65,68,70,291,341,425,433,440,444,449,456,466,491,495,496,507,512,513,514,515,516,527,1353,1355,1359,551,561,562,563,564,565,566,568,569,570,571,572,574,576,577,581,582,649,674,680,1377,1382,1405,1412,19,27,31,97,138,176,178,185,192,193,201,204,207,210,251,244,245,266,277,294,297,307,310,311,313,322,327,328,336,337,357,359,361,362,370]
#3
⏱️ 309.87 мс
select * from "master_products" where "barcode" is not null and "category_slug" = ? and "subcategory_slug" = ? and (exists (select 1 from "store_prices" where "store_prices"."master_product_id" = "master_products"."id" and "store_prices"."store_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) or exists (select 1 from "deals" where "deals"."master_product_id" = "master_products"."id" and "deals"."is_active" = ? and "deals"."store_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?))) order by CASE WHEN master_products.image_url IS NOT NULL AND master_products.image_url != '' THEN 0 ELSE 1 END, "master_products"."id" desc limit 32 offset 0
Bindings:
["baby","baby_nutrition",729,747,757,758,772,774,189,117,260,1129,1131,1132,1139,1147,1151,1155,1177,1209,1217,1236,1240,1243,1245,1251,587,1277,1285,1289,610,1296,627,1303,1316,1320,1330,1342,42,43,48,51,55,63,65,68,70,291,341,425,433,440,444,449,456,466,491,495,496,507,512,513,514,515,516,527,1353,1355,1359,551,561,562,563,564,565,566,568,569,570,571,572,574,576,577,581,582,649,674,680,1377,1382,1405,1412,19,27,31,97,138,176,178,185,192,193,201,204,207,210,251,244,245,266,277,294,297,307,310,311,313,322,327,328,336,337,357,359,361,362,370,true,729,747,757,758,772,774,189,117,260,1129,1131,1132,1139,1147,1151,1155,1177,1209,1217,1236,1240,1243,1245,1251,587,1277,1285,1289,610,1296,627,1303,1316,1320,1330,1342,42,43,48,51,55,63,65,68,70,291,341,425,433,440,444,449,456,466,491,495,496,507,512,513,514,515,516,527,1353,1355,1359,551,561,562,563,564,565,566,568,569,570,571,572,574,576,577,581,582,649,674,680,1377,1382,1405,1412,19,27,31,97,138,176,178,185,192,193,201,204,207,210,251,244,245,266,277,294,297,307,310,311,313,322,327,328,336,337,357,359,361,362,370]
#4
⏱️ 640.15 мс
select * from "deals" where "master_product_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) and "is_active" = ? and "store_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Bindings:
[4987857,4985731,4126423,4078051,4065908,4023305,3978527,3123903,2864871,1909949,1909474,1488900,1471390,1434552,1434104,1434074,1434073,1434072,1434071,1434070,1434069,1434068,1434067,1432364,1426148,1421753,1421752,1421751,1421750,1421749,1421748,1421552,true,729,747,757,758,772,774,189,117,260,1129,1131,1132,1139,1147,1151,1155,1177,1209,1217,1236,1240,1243,1245,1251,587,1277,1285,1289,610,1296,627,1303,1316,1320,1330,1342,42,43,48,51,55,63,65,68,70,291,341,425,433,440,444,449,456,466,491,495,496,507,512,513,514,515,516,527,1353,1355,1359,551,561,562,563,564,565,566,568,569,570,571,572,574,576,577,581,582,649,674,680,1377,1382,1405,1412,19,27,31,97,138,176,178,185,192,193,201,204,207,210,251,244,245,266,277,294,297,307,310,311,313,322,327,328,336,337,357,359,361,362,370]
#5
⏱️ 20.18 мс
select * from "stores" where "stores"."id" in (176, 178, 185, 189, 192, 193, 201, 204, 207, 210, 244, 245, 251, 266, 277, 774, 1129, 1131, 1132, 1139, 1147, 1151, 1155, 1177, 1209, 1217, 1236, 1240, 1243, 1245, 1251, 1277, 1285, 1289, 1296, 1303, 1316, 1320, 1330, 1342, 1353, 1355, 1359, 1377, 1382, 1405, 1412)
#6
⏱️ 199.19 мс
select * from "store_prices" where "master_product_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) and "price" > ? and "store_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Bindings:
[4987857,4985731,4126423,4078051,4065908,4023305,3978527,3123903,2864871,1909949,1909474,1488900,1471390,1434552,1434104,1434074,1434073,1434072,1434071,1434070,1434069,1434068,1434067,1432364,1426148,1421753,1421752,1421751,1421750,1421749,1421748,1421552,0,729,747,757,758,772,774,189,117,260,1129,1131,1132,1139,1147,1151,1155,1177,1209,1217,1236,1240,1243,1245,1251,587,1277,1285,1289,610,1296,627,1303,1316,1320,1330,1342,42,43,48,51,55,63,65,68,70,291,341,425,433,440,444,449,456,466,491,495,496,507,512,513,514,515,516,527,1353,1355,1359,551,561,562,563,564,565,566,568,569,570,571,572,574,576,577,581,582,649,674,680,1377,1382,1405,1412,19,27,31,97,138,176,178,185,192,193,201,204,207,210,251,244,245,266,277,294,297,307,310,311,313,322,327,328,336,337,357,359,361,362,370]
#7
⏱️ 15.47 мс
select * from "stores" where "stores"."id" in (176, 178, 185, 189, 192, 193, 201, 204, 207, 210, 244, 245, 251, 266, 277, 425, 433, 440, 444, 449, 456, 466, 551, 563, 564, 569, 570, 571, 572, 574, 576, 577, 582, 610, 627, 747, 772)
#8
⏱️ 11.94 мс
select * from "stores" where "is_active" = ? and "latitude" is not null and "longitude" is not null and "city_slug" = ?
Bindings:
[true,"tel-aviv"]
#9
⏱️ 1302.05 мс
select store_id, count(*) as total from "deals" where "store_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) and "is_active" = ? and ("expires_at" is null or "expires_at" >= ?) group by "store_id"
Bindings:
[729,747,757,758,772,774,189,117,260,1129,1131,1132,1139,1147,1151,1155,1177,1209,1217,1236,1240,1243,1245,1251,587,1277,1285,1289,610,1296,627,1303,1316,1320,1330,1342,42,43,48,51,55,63,65,68,70,291,341,425,433,440,444,449,456,466,491,495,496,507,512,513,514,515,516,527,1353,1355,1359,551,561,562,563,564,565,566,568,569,570,571,572,574,576,577,581,582,649,674,680,1377,1382,1405,1412,19,27,31,97,138,176,178,185,192,193,201,204,207,210,251,244,245,266,277,294,297,307,310,311,313,322,327,328,359,true,"2026-10-22T18:27:52.248608Z"]
#10
⏱️ 3.47 мс
select * from "locations" where "city_slug" = ? limit 1
Bindings:
["tel-aviv"]
#11
⏱️ 3.47 мс
select * from "locations" where "is_popular" = ? order by "sort_order" asc
Bindings:
[true]
#12
⏱️ 7.93 мс
select * from "locations" where "is_active" = ? order by "is_popular" desc, "sort_order" asc
Bindings:
[true]