#1
⏱️ 84.66 мс
select "id" from "stores" where "is_active" = ? and "city_slug" = ?
Bindings:
[true,"bnei-brak"]
#2
⏱️ 873.21 мс
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:
["grocery",730,748,265,285,45,80,86,84,135,163,217,282,298,432,477,502,682,288,true,730,748,265,285,45,80,86,84,135,163,217,282,298,432,477,502,682,288]
#3
⏱️ 1362.17 мс
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:
["grocery",730,748,265,285,45,80,86,84,135,163,217,282,298,432,477,502,682,288,true,730,748,265,285,45,80,86,84,135,163,217,282,298,432,477,502,682,288]
#4
⏱️ 17.64 мс
select * from "deals" where "master_product_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) and "is_active" = ? and "store_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Bindings:
[7460374,7460373,4533815,3995178,2742043,2708626,2675929,2671430,2670760,2670566,2669776,2667577,2663976,2663179,2662458,2661072,2656580,2638261,2637582,2634027,2608194,2049531,2045396,2037598,1942768,1919767,1918295,1913217,1913216,1911874,1910510,1910173,true,730,748,265,285,45,80,86,84,135,163,217,282,298,432,477,502,682,288]
#5
⏱️ 7.45 мс
select * from "stores" where "stores"."id" in (84, 86, 135, 282, 285, 288, 298)
#6
⏱️ 27.45 мс
select * from "store_prices" where "master_product_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) and "price" > ? and "store_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Bindings:
[7460374,7460373,4533815,3995178,2742043,2708626,2675929,2671430,2670760,2670566,2669776,2667577,2663976,2663179,2662458,2661072,2656580,2638261,2637582,2634027,2608194,2049531,2045396,2037598,1942768,1919767,1918295,1913217,1913216,1911874,1910510,1910173,0,730,748,265,285,45,80,86,84,135,163,217,282,298,432,477,502,682,288]
#7
⏱️ 6.85 мс
select * from "stores" where "stores"."id" in (84, 86, 135, 282, 285, 288, 432, 477, 748)
#8
⏱️ 7.48 мс
select * from "stores" where "is_active" = ? and "latitude" is not null and "longitude" is not null and "city_slug" = ?
Bindings:
[true,"bnei-brak"]
#9
⏱️ 56.54 мс
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:
[730,748,265,285,45,80,86,84,135,163,217,282,298,432,477,502,682,288,true,"2026-09-08T05:07:26.045081Z"]
#10
⏱️ 5.76 мс
select * from "locations" where "city_slug" = ? limit 1
Bindings:
["bnei-brak"]
#11
⏱️ 6.73 мс
select * from "locations" where "is_popular" = ? order by "sort_order" asc
Bindings:
[true]
#12
⏱️ 5.8 мс
select * from "locations" where "is_active" = ? order by "is_popular" desc, "sort_order" asc
Bindings:
[true]