Query time 0.00100
JSON explain
{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "popularity.total desc, products.product_id",
"temporary_table": {
"table": {
"table_name": "cscart_categories",
"access_type": "const",
"possible_keys": ["PRIMARY", "c_status", "p_category_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["category_id"],
"ref": ["const"],
"rows": 1,
"filtered": 100
},
"table": {
"table_name": "products_categories",
"access_type": "ref",
"possible_keys": ["PRIMARY", "pt"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["category_id"],
"ref": ["const"],
"rows": 18,
"filtered": 100,
"attached_condition": "products_categories.category_id <=> 2742",
"using_index": true
},
"table": {
"table_name": "products",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "status"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["rfswire_cart.products_categories.product_id"],
"rows": 1,
"filtered": 87.96884918,
"attached_condition": "(products.usergroup_ids = '' or find_in_set(0,products.usergroup_ids) or find_in_set(1,products.usergroup_ids)) and products.`status` = 'A'"
},
"table": {
"table_name": "shared_descr",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "product_id", "company_id"],
"key": "PRIMARY",
"key_length": "13",
"used_key_parts": ["product_id", "lang_code", "company_id"],
"ref": ["rfswire_cart.products_categories.product_id", "const", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(shared_descr.lang_code = 'en')"
},
"table": {
"table_name": "descr1",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "product_id"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["product_id", "lang_code"],
"ref": ["rfswire_cart.products_categories.product_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(descr1.lang_code = 'en')"
},
"table": {
"table_name": "popularity",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "total"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["rfswire_cart.products_categories.product_id"],
"rows": 1,
"filtered": 100
},
"table": {
"table_name": "prices",
"access_type": "ref",
"possible_keys": [
"usergroup",
"product_id",
"lower_limit",
"usergroup_id"
],
"key": "product_id",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["rfswire_cart.products_categories.product_id"],
"rows": 1,
"filtered": 64.24570465,
"attached_condition": "prices.lower_limit = 1 and prices.usergroup_id in (0,0,1)"
}
}
}
}
}
Result
| product_id |
product |
| 4434 |
Motorola PMAD4094 - VHF Stubby Antenna 11cm (147-160MHz) |
| 4681 |
Motorola PMAD4120 - VHF Stubby Antenna (146-160 MHz) |
| 4432 |
Motorola PMAD4088 - VHF Wideband Whip Antenna 136-174 MHz |
| 4438 |
Motorola PMAE4024 - Combination UHF Whip Antenna with GPS, 430-470 MHz - Intrinsically Safe (FM) |
| 4433 |
Motorola PMAD4093 - VHF Stubby Antenna 11cm (136-147MHz) |
| 4435 |
Motorola PMAD4095 - VHF Stubby Antenna 11cm (160-174MHz) |
| 4437 |
Motorola PMAE4023 - GPS/UHF Stubby Antenna (403-470 MHz) |
| 4436 |
Motorola PMAE4021 - Combination UHF Stubby Antenna with GPS, 403-433 MHz - Intrinsically Safe (FM) |
| 4441 |
Motorola PMAE4050 - Combination GPS/ UHF 450-495 MHz Folded Monopole Antenna |
| 4430 |
Motorola PMAD4068 - Combination VHF Whip Antenna with GPS, 147-160 MHz - Intrinsically Safe (FM) |
| 4440 |
Motorola PMAE4049 - UHF, Flexible Whip, 450-527 MHz |
| 4450 |
Motorola PMAE4022 - UHF 403-470 MHz Whip Antenna |
| 4439 |
Motorola PMAE4048 - UHF2 + GPS Stubby Antenna, 450-527 MHz |
| 4442 |
Motorola PMAE4051 - Combination GPS/ UHF 495-527 MHz Folded Monopole Antenna |
| 4429 |
Motorola PMAD4067 - Combination VHF Whip Antenna with GPS, 136-147 MHz - Intrinsically Safe (FM) |
| 4431 |
Motorola PMAD4069 - Combination VHF Whip Antenna with GPS, 160-174 MHz - Intrinsically Safe (FM) |
| 4916 |
Motorola PMAE4018 – Combination UHF Whip Antenna with GPS, 403-433 MHz - Intrinsically Safe (FM) |