#1
⏱️ 41.77 мс
select "id" from "stores" where "is_active" = ? and "city_slug" = ?
Bindings:
[true,"kfar-saba"]
#2
⏱️ 1127.71 мс
select count(*) as "aggregate" from "master_products" where "barcode" is not null and "master_products"."id" in ((select "master_product_id" from "store_prices" where "store_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) union (select "master_product_id" from "deals" where "is_active" = ? and "store_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)))
Bindings:
[740,354,368,1124,1138,1226,1238,584,50,249,478,498,556,25,141,194,222,254,295,302,317,329,392,true,740,354,368,1124,1138,1226,1238,584,50,249,478,498,556,25,141,194,222,254,295,302,317,329,392]
#3
⏱️ 738.81 мс
select * from "master_products" where "barcode" is not null and "master_products"."id" in ((select "master_product_id" from "store_prices" where "store_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)) union (select "master_product_id" from "deals" where "is_active" = ? and "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 96 offset 0
Bindings:
[740,354,368,1124,1138,1226,1238,584,50,249,478,498,556,25,141,194,222,254,295,302,317,329,392,true,740,354,368,1124,1138,1226,1238,584,50,249,478,498,556,25,141,194,222,254,295,302,317,329,392]
#4
⏱️ 302.72 мс
select * from "deals" where "master_product_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) and "is_active" = ? and "store_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Bindings:
[136314781,124010385,123749097,123598337,118005752,117894874,117894862,117041541,117041540,117041539,117041538,116123019,115671723,114466133,113787716,112460975,112375610,111402467,111364918,108808721,108787969,91874114,91870308,88742449,84869830,84199264,82942479,81243843,81154376,81029749,78963913,78531197,76754704,76387268,76339981,75165094,74076446,73864860,72978997,66413048,65764228,63805154,61866507,57061517,56283367,56112702,56109693,56108690,56108688,56108187,56108186,55055286,54431099,54411455,54393762,54327960,43367487,42625503,42575457,42476629,42476627,42476625,39028558,38847180,38810854,38673323,37085091,36637161,36637160,36601256,36527595,34793660,34464787,34464569,34459085,34414162,34206024,34206023,34205246,34105135,33464855,32652869,32430635,32387955,32335444,32080559,30721319,30721315,30691571,30588986,30247410,30168882,30060444,28401773,27883716,27628022,true,740,354,368,1124,1138,1226,1238,584,50,249,478,498,556,25,141,194,222,254,295,302,317,329,392]
#5
⏱️ 6.48 мс
select * from "stores" where "stores"."id" in (141, 194, 222, 249, 254, 295, 317, 354, 368, 392)
#6
⏱️ 87.42 мс
select * from "store_prices" where "master_product_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) and "price" > ? and "store_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Bindings:
[136314781,124010385,123749097,123598337,118005752,117894874,117894862,117041541,117041540,117041539,117041538,116123019,115671723,114466133,113787716,112460975,112375610,111402467,111364918,108808721,108787969,91874114,91870308,88742449,84869830,84199264,82942479,81243843,81154376,81029749,78963913,78531197,76754704,76387268,76339981,75165094,74076446,73864860,72978997,66413048,65764228,63805154,61866507,57061517,56283367,56112702,56109693,56108690,56108688,56108187,56108186,55055286,54431099,54411455,54393762,54327960,43367487,42625503,42575457,42476629,42476627,42476625,39028558,38847180,38810854,38673323,37085091,36637161,36637160,36601256,36527595,34793660,34464787,34464569,34459085,34414162,34206024,34206023,34205246,34105135,33464855,32652869,32430635,32387955,32335444,32080559,30721319,30721315,30691571,30588986,30247410,30168882,30060444,28401773,27883716,27628022,0,740,354,368,1124,1138,1226,1238,584,50,249,478,498,556,25,141,194,222,254,295,302,317,329,392]
#7
⏱️ 1.68 мс
select * from "stores" where "stores"."id" in (141, 249, 368, 392, 478, 498, 556, 584)
#8
⏱️ 5.38 мс
select * from "stores" where "is_active" = ? and "latitude" is not null and "longitude" is not null and "city_slug" = ?
Bindings:
[true,"kfar-saba"]
#9
⏱️ 154.71 мс
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:
[740,1124,1138,1226,1238,584,50,249,478,498,556,25,141,194,222,254,295,302,329,true,"2026-11-06T20:25:53.227676Z"]
#10
⏱️ 5.83 мс
select * from "locations" where "city_slug" = ? limit 1
Bindings:
["kfar-saba"]
#11
⏱️ 5.08 мс
select * from "locations" where "is_popular" = ? order by "sort_order" asc
Bindings:
[true]
#12
⏱️ 6.32 мс
select * from "locations" where "is_active" = ? order by "is_popular" desc, "sort_order" asc
Bindings:
[true]