#1
⏱️ 143.72 мс
select "id" from "stores" where "is_active" = ? and "city_slug" = ?
Bindings:
[true,"rosh-haayin"]
#2
⏱️ 395.67 мс
select count(*) as "aggregate" from "master_products" where "barcode" is not null and "category_slug" = ? 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:
["drinks",33,188,280,71,351,true,33,188,280,71,351]
#3
⏱️ 490.88 мс
select * from "master_products" where "barcode" is not null and "category_slug" = ? 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 32 offset 0
Bindings:
["drinks",33,188,280,71,351,true,33,188,280,71,351]
#4
⏱️ 15.14 мс
select * from "deals" where "master_product_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) and "is_active" = ? and "store_id" in (?, ?, ?, ?, ?)
Bindings:
[1546572,1452325,1433911,1433488,1433402,1433390,1432648,1429167,1428041,1427098,1420356,1420349,788920,752383,495744,495735,461432,414210,311359,283120,246597,196717,188589,188588,182332,182279,181126,177275,171567,169656,167225,161332,true,33,188,280,71,351]
#5
⏱️ 10.79 мс
select * from "stores" where "stores"."id" in (33, 71, 188, 280, 351)
#6
⏱️ 25.69 мс
select * from "store_prices" where "master_product_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) and "price" > ? and "store_id" in (?, ?, ?, ?, ?)
Bindings:
[1546572,1452325,1433911,1433488,1433402,1433390,1432648,1429167,1428041,1427098,1420356,1420349,788920,752383,495744,495735,461432,414210,311359,283120,246597,196717,188589,188588,182332,182279,181126,177275,171567,169656,167225,161332,0,33,188,280,71,351]
#7
⏱️ 9.44 мс
select * from "stores" where "stores"."id" in (33, 71, 188, 280, 351)
#8
⏱️ 5.62 мс
select * from "stores" where "is_active" = ? and "latitude" is not null and "longitude" is not null and "city_slug" = ?
Bindings:
[true,"rosh-haayin"]
#9
⏱️ 61.68 мс
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:
[33,188,280,71,351,true,"2026-09-08T05:06:26.197693Z"]
#10
⏱️ 8.21 мс
select * from "locations" where "city_slug" = ? limit 1
Bindings:
["rosh-haayin"]
#11
⏱️ 11.48 мс
select * from "locations" where "is_popular" = ? order by "sort_order" asc
Bindings:
[true]
#12
⏱️ 10.24 мс
select * from "locations" where "is_active" = ? order by "is_popular" desc, "sort_order" asc
Bindings:
[true]