#1
⏱️ 159.24 мс
select "id" from "stores" where "is_active" = ? and "city_slug" = ?
Bindings:
[true,"ashdod"]
#2
⏱️ 2161.91 мс
select count(*) as "aggregate" from "master_products" where "barcode" is not null and "category_slug" = ? and "subcategory_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:
["grocery","pasta_grains",704,712,733,720,770,250,334,604,628,157,209,203,423,540,543,609,true,704,712,733,720,770,250,334,604,628,157,209,203,423,540,543,609]
#3
⏱️ 1964.9 мс
select * from "master_products" where "barcode" is not null and "category_slug" = ? and "subcategory_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:
["grocery","pasta_grains",704,712,733,720,770,250,334,604,628,157,209,203,423,540,543,609,true,704,712,733,720,770,250,334,604,628,157,209,203,423,540,543,609]
#4
⏱️ 10.12 мс
select * from "deals" where "master_product_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) and "is_active" = ? and "store_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Bindings:
[4985767,4533815,2990001,2989999,2667577,2638261,1434316,1434313,1434287,1425497,993080,984288,893589,816470,436936,367683,367682,319317,284866,251331,251329,245143,245129,244445,242302,199879,199700,199612,199611,194778,193776,173268,true,704,712,733,720,770,250,334,604,628,157,209,203,423,540,543,609]
#5
⏱️ 4.62 мс
select * from "stores" where "stores"."id" in (334, 704, 712)
#6
⏱️ 41.15 мс
select * from "store_prices" where "master_product_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) and "price" > ? and "store_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Bindings:
[4985767,4533815,2990001,2989999,2667577,2638261,1434316,1434313,1434287,1425497,993080,984288,893589,816470,436936,367683,367682,319317,284866,251331,251329,245143,245129,244445,242302,199879,199700,199612,199611,194778,193776,173268,0,704,712,733,720,770,250,334,604,628,157,209,203,423,540,543,609]
#7
⏱️ 19.14 мс
select * from "stores" where "stores"."id" in (203, 209, 250, 334, 423, 543, 604, 609, 628, 704, 712, 770)
#8
⏱️ 10.44 мс
select * from "stores" where "is_active" = ? and "latitude" is not null and "longitude" is not null and "city_slug" = ?
Bindings:
[true,"ashdod"]
#9
⏱️ 41.84 мс
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:
[704,712,733,720,770,250,334,604,628,157,209,203,423,540,543,609,true,"2026-09-08T04:54:55.710497Z"]
#10
⏱️ 18.76 мс
select * from "locations" where "city_slug" = ? limit 1
Bindings:
["ashdod"]
#11
⏱️ 15.05 мс
select * from "locations" where "is_popular" = ? order by "sort_order" asc
Bindings:
[true]
#12
⏱️ 18.34 мс
select * from "locations" where "is_active" = ? order by "is_popular" desc, "sort_order" asc
Bindings:
[true]