SELECT 
  q_product_descriptions.product_id, 
  q_product_descriptions.short_description, 
  IF(
    q_product_descriptions.short_description = '', 
    q_product_descriptions.full_description, 
    ''
  ) AS full_description 
FROM 
  q_product_descriptions 
WHERE 
  q_product_descriptions.product_id IN (
    9741, 9742, 9743, 9744, 9745, 9746, 9747, 
    9748, 9749, 9750, 9751, 9752, 9753, 
    9754, 9755, 9756, 9757, 9758, 9759, 
    9760, 9761, 9762, 9763, 9764, 9765, 
    9766, 9767, 9768, 9769, 9770, 9771, 
    9772
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00078

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "76.81"
    },
    "table": {
      "table_name": "q_product_descriptions",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY",
        "product_id"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "product_id",
        "lang_code"
      ],
      "key_length": "9",
      "rows_examined_per_scan": 32,
      "rows_produced_per_join": 32,
      "filtered": "100.00",
      "index_condition": "((`portal`.`q_product_descriptions`.`product_id` in (9741,9742,9743,9744,9745,9746,9747,9748,9749,9750,9751,9752,9753,9754,9755,9756,9757,9758,9759,9760,9761,9762,9763,9764,9765,9766,9767,9768,9769,9770,9771,9772)) and (`portal`.`q_product_descriptions`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "70.41",
        "eval_cost": "6.40",
        "prefix_cost": "76.81",
        "data_read_per_join": "122K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description"
      ]
    }
  }
}

Result

product_id short_description full_description
9741 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">4 USB Type-A ports with a maximum output of 35 W/7 A.</span></li> <li><span class="a-list-item">Dynamic Power Sharing circuitry optimizes fast-charging efficiency.</span></li> <li><span class="a-list-item">US DoE Energy Level VI-compliant.</span></li> <li><span class="a-list-item">Safeguard your device with voltage/current/temperature protection.</span></li> <li><span class="a-list-item">Slide on/off power plug for international travelers.</span></li> </ul>
9742 <ul><li>Advanced Q-coil module for fast wireless charging</li> <li>Charges through cases up to 5 mm thick</li> <li>Supports fast-charging up to 10 W</li> <li>Non-slip surface ring and base for convenient one-hand usage</li> <li>LED charging indicator</li> <li>USB-C connector</li> <li>FOD (Foreign Object Detection) for added safety</li> <li>Includes a 3-foot USB-C to USB-A cable (1 m)</li> </ul>
9743 <ul><li>Portable battery with built-in Qi wireless charger</li> <li>Charges through cases up to 5 mm thick</li> <li>Non-slip surface ring and base for convenient one-hand usage</li> <li>FOD (Foreign Object Detection) for added safety</li> <li>Battery capacity: 5,000 mAh</li> <li>Includes a 1.5-foot USB-C to USB-A cable (50 cm)</li> </ul>
9744 <ul><li>Works with MacBook, iPhone, iPod, iPad, MP3, smartphone, etc.</li> <li>Compatible with any device that has a 1/8" (3.5mm) audio jack.</li> <li>24K gold plated connectors for robust corrosion resistance and sound quality.</li> <li>Double shielded to reduce electromagnetic interference.</li> </ul>
9745 <ul><li><span class="a-list-item">Licensed USB cable with Lightning connector that is 100% compatible with the latest iPhones, iPads and iPod touches.</span></li> <li><span class="a-list-item">Supports syncing and charging through USB on your Mac or Windows PC.</span></li> <li><span class="a-list-item">Encased in aluminum and shielded to reduce electromagnetic interference.</span></li> <li><span class="a-list-item">Durable and long-lasting to accommodate several device lifetimes.</span></li> </ul>
9746 <ul><li>High-performance IntegraCore spine exceeds 20,000 bend cycles (180-degree).</li> <li>Ballistic nylon braiding offers superior abrasion and tangle resistance.</li> <li>20% longer than a typical Lightning cable.</li> <li>Aluminum housings with heavy-duty stress relief points.</li> <li>Supports up to 12 W (5 V/2.4 A) of power for iOS devices.</li> <li>HandyStrap cable manager included.</li> <li>Supports USB 2.0 data transfer speed up to 480 Mbps.</li> </ul>
9747 <ul><li>Licensed USB cable with a Lightning connector that is 100% compatible with the latest iPhones, iPads and iPod touches</li> <li>Encased in aluminum and shielded to reduce electromagnetic interference</li> <li>Supports syncing and charging through USB 2.0 on your Mac or Windows PC</li> <li>Includes a convenient HandyStrap cable manager</li> </ul><p>Moshi's USB Cable with Lightning Connector will easily charge your latest Apple devices from those inconveniently placed outlets.</p>
9748 <ul><li><span class="a-list-item">Licensed USB cable with Lightning connector that is 100% compatible with the latest iPhones, iPads and iPod touches.</span></li> <li><span class="a-list-item">Supports syncing and charging through USB on your Mac or Windows PC.</span></li> <li><span class="a-list-item">Encased in aluminum and shielded to reduce electromagnetic interference.</span></li> <li><span class="a-list-item">Durable and long-lasting to accommodate several device lifetimes.</span></li> </ul>
9749 <ul><li>Ultra-thin and flexible cabling means easier deployment and less stress on your equipment's HDMI port.</li> <li>Ideal for next-generation Ultra HDTV (4K2K), Xbox, Playstation, AV receivers, and media players such as Apple TV, Fire TV, or Roku.</li> <li>Anodized aluminum casing with triple shielding minimizes electromagnetic interference.</li> <li>Supports 1080p, Stereoscopic 3D as well as high-speed Ethernet.</li> <li>Supports Audio Return Channel to transmit audio from TV to receiver.</li> <li>Supports UHD 4K resolutions at 60 fps.</li> </ul>
9750 <ul><li>Listen to music on your iPhone or iPad device (iOS 10 or later) using regular 3.5 mm headphones.</li> <li>Protocol pass-through to control your music (pause/play/take calls) on the go.</li> <li>Reinforced IntegraCore spine for extreme durability.</li> <li>Ballistic nylon braided sleeve for superior abrasion and tangle resistance.</li> <li>Anodized aluminum housings with reinforced stress relief points.</li> </ul>
9751 <ul><li>Ideal for connecting your Mac to a TV or monitor</li> <li>HDMI-compliant to support both Full HD (1080P) and Ultra HD (4K) displays</li> <li>Supports multi-channel digital audio output on compatible devices</li> </ul>
9752 <ul><li><span class="a-list-item">Licensed USB cable with Lightning connector that is 100% compatible with the latest iPhones, iPads and iPod touches.</span></li> <li><span class="a-list-item">Supports syncing and charging through USB on your Mac or Windows PC.</span></li> <li><span class="a-list-item">Encased in aluminum and shielded to reduce electromagnetic interference.</span></li> <li><span class="a-list-item">Durable and long-lasting to accommodate several device lifetimes.</span></li> </ul>
9753 <ul><li>Licensed USB cable with Lightning connector that is 100% compatible with the latest iPhones, iPads and iPod touches.</li> <li>Encased in aluminum and shielded to reduce electromagnetic interference.</li> <li>Durable and long-lasting to accommodate several device lifetimes.</li> </ul>
9754 <ul><li>High-performance IntegraCore spine exceeds 20,000 bend cycles (180-degree).</li> <li>Ballistic nylon braiding offers superior abrasion and tangle resistance.</li> <li>20% longer than a typical Lightning cable.</li> <li>Aluminum housings with heavy-duty stress relief points.</li> <li>Supports up to 12 W (5 V/2.4 A) of power for iOS devices.</li> <li>HandyStrap cable manager included.</li> <li>Supports USB 2.0 data transfer speed up to 480 Mbps.</li> </ul>
9755 <ul><li>High-performance IntegraCore spine exceeds 20,000 bend cycles (180-degree).</li> <li>Ballistic nylon braiding offers superior abrasion and tangle resistance.</li> <li>20% longer than a typical Lightning cable.</li> <li>Aluminum housings with heavy-duty stress relief points.</li> <li>Supports up to 12 W (5 V/2.4 A) of power for iOS devices.</li> <li>HandyStrap cable manager included.</li> <li>Supports USB 2.0 data transfer speed up to 480 Mbps.</li> </ul>
9756 <div> <div class="container"> <div class="tab-details"> <ul><li>Charge and power your USB-C device with any USB-C power adapter.</li> <li>Integrated Smart LED charging indicators.</li> <li>Aluminum housings and reinforced stress relief points.</li> <li>Supports up to 60 W power output and USB 2 data transfer speeds.</li> <li>HandyStrap cable manager included.</li> </ul><p> </p> </div> </div> </div> <div> <div class="container"> </div> </div>
9757 <ul><li>Power and charge any USB-C device using a regular USB charger.</li> <li>Supports USB 3.1 Gen 1 data transfer speeds of up to 5 Gbps.</li> <li>Encased in aluminum with reinforced stress relief points.</li> <li>HandyStrap cable manager included</li> </ul>
9758 <ul><li>Connect any standard USB device (hard drive, hub, printer, and more) to your MacBook's USB-C port.</li> <li>USB 3.1 Gen 1 supporting up to 5 Gbps data transfer speed and 3 A power output.</li> <li>Anodized aluminum casing to minimize electromagnetic interference.</li> </ul>
9759 <ul><li>Ultra-thin and flexible cabling means easier deployment and less stress on your equipment's HDMI port.</li> <li>Ideal for next-generation Ultra HDTV (4K2K), Xbox, Playstation, AV receivers, and media players such as Apple TV, Fire TV, or Roku.</li> <li>Anodized aluminum casing with triple shielding minimizes electromagnetic interference.</li> <li>Supports 1080p, Stereoscopic 3D as well as high-speed Ethernet.</li> <li>Supports Audio Return Channel to transmit audio from TV to receiver.</li> <li>Supports UHD 4K resolutions at 60 fps.</li> </ul>
9760 <ul><li>Connect any USB-C or Thunderbolt 3 laptop to an external monitor or TV.</li> <li>HDMI output at 1080p (60 Hz) and 4K (30 Hz) resolutions. HDCP-compatible.</li> <li>Data transfer: supports USB 3.1 (Gen 1) at rates up to 5 Gbps.</li> <li>Power: supports fast laptop charging up to 60 W (20 V/3 A).</li> <li>Integrated Smart LED charging indicator.</li> <li>Supports multi-channel digital audio output on compatible devices.</li> <li>Unibody aluminum enclosure with reinforced stress relief for added durability.</li> <li>Folding cable design for sleek portability.</li> </ul>
9761 <ul><li>High-performance DuPont Kevlar spine exceeds 10,000 bend cycles (180-degree).</li> <li>Supports USB PD (power delivery) up to 100 W (20 V/5 A).</li> <li>Ballistic nylon braiding offers superior abrasion and tangle resistance.</li> <li>Aluminum housings with heavy-duty stress relief points.</li> <li>Supports USB 2.0 data transfer speed up to 480 Mbps.</li> <li>HandyStrap cable manager included.</li> </ul>
9762 <ul><li>High-performance DuPont Kevlar spine exceeds 10,000 bend cycles (180-degree).</li> <li>Supports USB PD (power delivery) up to 100 W (20 V/5 A).</li> <li>Ballistic nylon braiding offers superior abrasion and tangle resistance.</li> <li>Aluminum housings with heavy-duty stress relief points.</li> <li>Supports USB 2.0 data transfer speed up to 480 Mbps.</li> <li>HandyStrap cable manager included.</li> </ul>
9763 <ul><li>Connect any USB-C or Thunderbolt 3 laptop to an external monitor or TV.</li> <li>HDMI output at 1080p (60 Hz) and 4K (30 Hz) resolutions. HDCP-compatible.</li> <li>Data transfer: supports USB 3.1 (Gen 1) at rates up to 5 Gbps.</li> <li>Power: supports fast laptop charging up to 60 W (20 V/3 A).</li> <li>Integrated Smart LED charging indicator.</li> <li>Supports multi-channel digital audio output on compatible devices.</li> <li>Unibody aluminum enclosure with reinforced stress relief for added durability.</li> <li>Folding cable design for sleek portability.</li> </ul>
9764 <ul><li>Compact docking station for any USB C or Thunderbolt 3 equipped laptop</li> <li>Thunderbolt 3 compatible and 100percent plug-n-play no drivers needed</li> <li>Qi certified wireless charging</li> <li>Supports Apple 7 5 W and Samsung 9 W wireless fast charging</li> <li>Charges through cases up to 5 mm thick</li> <li>HDMI port for adding an external display </li> <li>Gigabit Ethernet port for wired data transfer up to 1000 Mbps</li> <li>2 USB A ports for connecting a keyboard mouse or hard drive</li> <li>USB ports offer data transfer at rates up to 5 Gbps USB 3 1 Gen 1</li> <li>High speed USB port for charging your smartphone or tablet 2 1A</li> <li>Full USB PD function for fast charging USB C laptops up to 60 W</li> <li>Integrated Smart LED charging indicator</li> </ul>
9765 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Listen music on your USB C device using regular 3 5 mm headphones</span></li> <li><span class="a-list-item">USB C fast charging port Supports PD 3 0</span></li> <li><span class="a-list-item">High resolution audio 24 bit 192 kHz with Class G amplifier</span></li> <li><span class="a-list-item">Protocol pass through to control your music on the go</span></li> <li><span class="a-list-item">Anodized aluminum housings with reinforced stress relief points</span></li> </ul>
9766 <ul><li>Gives you a 3 m range to comfortably charge anywhere</li> <li>Its weighted knot can be anchored to any flat surface, so it's there when you need it next</li> <li>The extra-long braided cable with weighted knot</li> <li>No more dropped cable</li> </ul>
9767 <ul><li>Gives you a 3m range to comfortably charge anywhere</li> <li>Its weighted knot can be anchored to any flat surface, so it's there when you need it next</li> <li>The extra-long braided cable with weighted knot</li> <li>No more dropped cable</li> </ul>
9768 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Color-changing light -choose from 16.7 million colors, Tunable 1200k-6500k white light ranging from a soft warm Sunset to bright white daylight</span></li> <li><span class="a-list-item">Double-sided mounting pads for no-holes, no-hassle installation of the light panels</span></li> <li><span class="a-list-item">Customize with the free Nanoleaf Smarter Series app, works with Amazon Echo, Google Home, Google Assistant, Siri, HomeKit, IFTTT</span></li> <li><span class="a-list-item">Supports up to 30 light panels in a single system</span></li> <li><span class="a-list-item">Includes: 3 RGBW Smart LED Panels; 3 Panel Connectors; 3 Mounting Stencils; 12 Mounting Strips</span></li> </ul>
9769 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Color-changing light -choose from 16.7 million colors, Tunable 1200k-6500k white light ranging from a soft warm Sunset to bright white daylight</span></li> <li><span class="a-list-item">Double-sided mounting pads for no-holes, no-hassle installation of the light panels</span></li> <li><span class="a-list-item">Customize with the free Nanoleaf smarter series app, works with Amazon echo, Google home, Google assistant, Siri, home kit, IFTTT</span></li> <li><span class="a-list-item">Supports up to 30 light panels in a single system</span></li> <li><span class="a-list-item">Easily mounted onto any flat surface using mounting tape</span></li> </ul>
9770 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Color-changing light -choose from 16.7 million colors, Tunable 1200k-6500k white light ranging from a soft warm Sunset to bright white daylight</span></li> <li><span class="a-list-item">Double-sided mounting pads for no-holes, no-hassle installation of the light panels</span></li> <li><span class="a-list-item">Customize with the free Nanoleaf smarter series app, works with Amazon echo, Google home, Google assistant, Siri, home kit, IFTTT</span></li> <li><span class="a-list-item">Supports up to 30 light panels in a single system</span></li> <li><span class="a-list-item">Easily mounted onto any flat surface using mounting tape</span></li> </ul>
9771 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Color-changing light -choose from 16.7 million colors, Tunable 1200k-6500k white light ranging from a soft warm Sunset to bright white daylight</span></li> <li><span class="a-list-item">Double-sided mounting pads for no-holes, no-hassle installation of the light panels</span></li> <li><span class="a-list-item">Customize with the free Nanoleaf smarter series app, works with Amazon echo, Google home, Google assistant, Siri, home kit, IFTTT</span></li> <li><span class="a-list-item">Supports up to 30 light panels in a single system</span></li> <li><span class="a-list-item">Easily mounted onto any flat surface using mounting tape</span></li> </ul>
9772 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span>The Nanoleaf Rhythm is an add-on module for your Nanoleaf Light Panels that upgrades them to a real-time music visualizer</span></li> <li><span> The Rhythm makes it possible to see sound, visually remastering your music into animated displays of colour and light</span></li> <li><span>With gorgeous colour displays produced by your own soundtrack, the Nanoleaf Rhythm creates an immersive symphony of light and music that’s personalised just for you.</span></li> </ul>