Query time 0.00220
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.525449254,
"nested_loop": [
{
"table": {
"table_name": "cscart_product_prices",
"access_type": "range",
"possible_keys": [
"usergroup",
"product_id",
"lower_limit",
"usergroup_id",
"wdbi_product_id_lower_limit_usergroup_id_price_eff1727beeef",
"wdbi_usergroup_id_lower_limit_product_id_92b7e8f6a250",
"wdbi_product_id_lower_limit_usergroup_id_price_perc_3b2301d551d0",
"wdbi_lower_limit_usergroup_id_product_id_b93629431718"
],
"key": "usergroup",
"key_length": "9",
"used_key_parts": ["product_id", "usergroup_id", "lower_limit"],
"loops": 1,
"rows": 256,
"cost": 0.44592136,
"filtered": 20,
"attached_condition": "cscart_product_prices.lower_limit = 1 and cscart_product_prices.product_id in (153378,146250,151676,170573,132911,151528,168300,146008,149505,137270,118463,175108,120360,125752,145670,165520,164728,168291,3459,135232,134222,163348,147116,141352,173196,133367,136278,164224,169761,120371,126781,174454,159721,122698,146691,132361,145504,151584,163029,142300,148407,159680,166851,135515,158366,167558,118856,150294,120895,164939,148060,170707,154297,169846,159381,165473,152983,168016,159560,157441,160602,125438,174205,125076,141675,141823,120656,126863,158696,145139,137529,141871,139050,175166,171127,120496,169901,138735,146824,158471,162470,154893,146279,121442,125787,120264,138776,164451,138985,121657,139237,172341,169627,121067,122178,131028,133688,135620,129139,156331,177744,160951,160534,171706,128069,163441,131982,170708,136526,152889,146907,169481,172066,165323,120928,143092,160218,146004,169267,151452,165666,149523,131594,129845,133281,148051,163097,144228) and cscart_product_prices.usergroup_id in (0,1)"
}
},
{
"table": {
"table_name": "cscart_master_products_storefront_min_price",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "8",
"used_key_parts": ["product_id", "storefront_id"],
"ref": [
"u985510652_ecartify_abhi.cscart_product_prices.product_id",
"const"
],
"loops": 51.2,
"rows": 1,
"cost": 0.046614528,
"filtered": 100,
"attached_condition": "trigcond(cscart_master_products_storefront_min_price.product_id = cscart_product_prices.product_id)"
}
}
]
}
}
Result
| product_id |
price |
| 3459 |
901.17000000 |
| 118463 |
1044.60000000 |
| 118856 |
1386.39000000 |
| 120264 |
1177.31000000 |
| 120360 |
915.66000000 |
| 120371 |
1858.54000000 |
| 120496 |
1415.80000000 |
| 120656 |
749.76000000 |
| 120895 |
163.31000000 |
| 120928 |
1900.00000000 |
| 121067 |
1364.14000000 |
| 121442 |
769.17000000 |
| 121657 |
937.20000000 |
| 122178 |
461.40000000 |
| 122698 |
1927.06000000 |
| 125076 |
1546.98000000 |
| 125438 |
72.83000000 |
| 125752 |
1303.60000000 |
| 125787 |
938.14000000 |
| 126781 |
478.56000000 |
| 126863 |
262.97000000 |
| 128069 |
75.31000000 |
| 129139 |
362.81000000 |
| 129845 |
1914.41000000 |
| 131028 |
475.06000000 |
| 131594 |
463.38000000 |
| 131982 |
1735.42000000 |
| 132361 |
1402.56000000 |
| 132911 |
1564.99000000 |
| 133281 |
1066.64000000 |
| 133367 |
1348.42000000 |
| 133688 |
1461.85000000 |
| 134222 |
827.33000000 |
| 135232 |
1623.75000000 |
| 135515 |
1393.25000000 |
| 135620 |
469.34000000 |
| 136278 |
1690.81000000 |
| 136526 |
1930.38000000 |
| 137270 |
1771.06000000 |
| 137529 |
598.64000000 |
| 138735 |
465.95000000 |
| 138776 |
572.85000000 |
| 138985 |
1950.54000000 |
| 139050 |
345.75000000 |
| 139237 |
940.31000000 |
| 141352 |
626.41000000 |
| 141675 |
1329.57000000 |
| 141823 |
1932.65000000 |
| 141871 |
1164.13000000 |
| 142300 |
771.05000000 |
| 143092 |
276.74000000 |
| 144228 |
278.56000000 |
| 145139 |
747.44000000 |
| 145504 |
601.99000000 |
| 145670 |
796.96000000 |
| 146004 |
437.51000000 |
| 146008 |
212.17000000 |
| 146250 |
293.83000000 |
| 146279 |
199.66000000 |
| 146691 |
748.42000000 |
| 146824 |
1942.66000000 |
| 146907 |
1473.85000000 |
| 147116 |
451.98000000 |
| 148051 |
1795.97000000 |
| 148060 |
1212.52000000 |
| 148407 |
1255.01000000 |
| 149505 |
1528.84000000 |
| 149523 |
455.68000000 |
| 150294 |
1522.24000000 |
| 151452 |
616.25000000 |
| 151528 |
1423.07000000 |
| 151584 |
86.66000000 |
| 151676 |
1689.23000000 |
| 152889 |
1731.01000000 |
| 152983 |
111.25000000 |
| 153378 |
635.23000000 |
| 154297 |
221.61000000 |
| 154893 |
1372.44000000 |
| 156331 |
915.07000000 |
| 157441 |
1594.22000000 |
| 158366 |
671.58000000 |
| 158471 |
129.36000000 |
| 158696 |
1757.06000000 |
| 159381 |
758.13000000 |
| 159560 |
386.15000000 |
| 159680 |
378.41000000 |
| 159721 |
849.82000000 |
| 160218 |
1383.33000000 |
| 160534 |
1316.10000000 |
| 160602 |
184.81000000 |
| 160951 |
1275.50000000 |
| 162470 |
1659.01000000 |
| 163029 |
1029.02000000 |
| 163097 |
1099.89000000 |
| 163348 |
1028.48000000 |
| 163441 |
608.88000000 |
| 164224 |
540.74000000 |
| 164451 |
1733.47000000 |
| 164728 |
861.55000000 |
| 164939 |
960.73000000 |
| 165323 |
422.81000000 |
| 165473 |
964.90000000 |
| 165520 |
740.75000000 |
| 165666 |
1438.11000000 |
| 166851 |
119.38000000 |
| 167558 |
1665.96000000 |
| 168016 |
13.79000000 |
| 168291 |
1328.92000000 |
| 168300 |
732.57000000 |
| 169267 |
1676.21000000 |
| 169481 |
857.80000000 |
| 169627 |
189.22000000 |
| 169761 |
1049.56000000 |
| 169846 |
801.60000000 |
| 169901 |
563.35000000 |
| 170573 |
981.41000000 |
| 170707 |
122.65000000 |
| 170708 |
1244.10000000 |
| 171127 |
1019.92000000 |
| 171706 |
872.56000000 |
| 172066 |
1777.24000000 |
| 172341 |
544.66000000 |
| 173196 |
676.22000000 |
| 174205 |
123.47000000 |
| 174454 |
533.03000000 |
| 175108 |
957.75000000 |
| 175166 |
347.26000000 |
| 177744 |
540.25000000 |