#1
⏱️ 74.48 мс
select "id" from "stores" where "is_active" = ? and "city_slug" = ?
Bindings:
[true,"rishon-le-zion"]
#2
⏱️ 3136.32 мс
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:
[129,731,749,769,126,399,343,1142,1160,1230,1232,1261,586,1280,600,617,1305,1312,1321,1349,3,39,150,175,238,427,457,508,509,1352,547,578,685,690,691,1384,22,92,116,196,299,321,365,true,129,731,749,769,126,399,343,1142,1160,1230,1232,1261,586,1280,600,617,1305,1312,1321,1349,3,39,150,175,238,427,457,508,509,1352,547,578,685,690,691,1384,22,92,116,196,299,321,365]
#3
⏱️ 775.36 мс
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:
[129,731,749,769,126,399,343,1142,1160,1230,1232,1261,586,1280,600,617,1305,1312,1321,1349,3,39,150,175,238,427,457,508,509,1352,547,578,685,690,691,1384,22,92,116,196,299,321,365,true,129,731,749,769,126,399,343,1142,1160,1230,1232,1261,586,1280,600,617,1305,1312,1321,1349,3,39,150,175,238,427,457,508,509,1352,547,578,685,690,691,1384,22,92,116,196,299,321,365]
#4
⏱️ 71.61 мс
select * from "deals" where "master_product_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) and "is_active" = ? and "store_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Bindings:
[117041541,117041540,117041538,112460975,112375610,108808721,105876215,91874114,88742449,86897098,84869830,82942479,81853314,81243843,81178120,78860214,78531197,76754704,75165094,74076446,72978997,66413048,65764228,64064994,63805154,63265682,61866507,56283367,56112702,56109693,56108690,56108688,56108187,56108186,54481923,54431099,54411455,42625503,42575457,42476629,42476627,42476625,39028558,38847180,37085091,36637160,36601256,34793660,34414162,34206024,34206023,34205246,34105135,33464855,32430635,32335444,32080559,30721319,30721315,30691571,30247410,30113423,30060444,28401773,27883716,27815085,27628022,27408007,25603232,25491028,25216901,24848918,24338565,24332368,14970397,13083234,13083233,13020236,12852012,12851980,12851979,12851978,12721528,12721432,12721431,12359404,12337042,12214467,12201255,12196449,12196440,12196436,12096078,11135534,11135321,11134316,true,129,731,749,769,126,399,343,1142,1160,1230,1232,1261,586,1280,600,617,1305,1312,1321,1349,3,39,150,175,238,427,457,508,509,1352,547,578,685,690,691,1384,22,92,116,196,299,321,365]
#5
⏱️ 2.42 мс
select * from "stores" where "stores"."id" in (3, 22, 116, 126, 129, 150, 196, 238, 321, 399)
#6
⏱️ 56.31 мс
select * from "store_prices" where "master_product_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) and "price" > ? and "store_id" in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Bindings:
[117041541,117041540,117041538,112460975,112375610,108808721,105876215,91874114,88742449,86897098,84869830,82942479,81853314,81243843,81178120,78860214,78531197,76754704,75165094,74076446,72978997,66413048,65764228,64064994,63805154,63265682,61866507,56283367,56112702,56109693,56108690,56108688,56108187,56108186,54481923,54431099,54411455,42625503,42575457,42476629,42476627,42476625,39028558,38847180,37085091,36637160,36601256,34793660,34414162,34206024,34206023,34205246,34105135,33464855,32430635,32335444,32080559,30721319,30721315,30691571,30247410,30113423,30060444,28401773,27883716,27815085,27628022,27408007,25603232,25491028,25216901,24848918,24338565,24332368,14970397,13083234,13083233,13020236,12852012,12851980,12851979,12851978,12721528,12721432,12721431,12359404,12337042,12214467,12201255,12196449,12196440,12196436,12096078,11135534,11135321,11134316,0,129,731,749,769,126,399,343,1142,1160,1230,1232,1261,586,1280,600,617,1305,1312,1321,1349,3,39,150,175,238,427,457,508,509,1352,547,578,685,690,691,1384,22,92,116,196,299,321,365]
#7
⏱️ 1.56 мс
select * from "stores" where "stores"."id" in (3, 22, 116, 126, 129, 150, 238, 399, 427, 457, 508, 509, 547, 578, 586, 600, 617, 731, 749, 769)
#8
⏱️ 1.92 мс
select * from "stores" where "is_active" = ? and "latitude" is not null and "longitude" is not null and "city_slug" = ?
Bindings:
[true,"rishon-le-zion"]
#9
⏱️ 115.87 мс
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:
[129,731,749,769,126,343,1142,1160,1230,1232,1261,586,1280,600,617,1305,1312,1321,1349,3,39,150,175,238,427,457,508,509,1352,547,578,685,690,691,1384,22,92,116,196,321,365,true,"2026-10-26T04:23:21.926919Z"]
#10
⏱️ 1.92 мс
select * from "locations" where "city_slug" = ? limit 1
Bindings:
["rishon-le-zion"]
#11
⏱️ 1.47 мс
select * from "locations" where "is_popular" = ? order by "sort_order" asc
Bindings:
[true]
#12
⏱️ 2.15 мс
select * from "locations" where "is_active" = ? order by "is_popular" desc, "sort_order" asc
Bindings:
[true]