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 (
    9917, 9918, 9919, 9920, 9921, 9922, 9923, 
    9924, 9925, 9926, 9927, 9928, 9929, 
    9930, 9931, 9932
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00059

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "38.41"
    },
    "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": 16,
      "rows_produced_per_join": 16,
      "filtered": "100.00",
      "index_condition": "((`portal`.`q_product_descriptions`.`product_id` in (9917,9918,9919,9920,9921,9922,9923,9924,9925,9926,9927,9928,9929,9930,9931,9932)) and (`portal`.`q_product_descriptions`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "35.21",
        "eval_cost": "3.20",
        "prefix_cost": "38.41",
        "data_read_per_join": "61K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description"
      ]
    }
  }
}

Result

product_id short_description full_description
9917 <ul><li>Exterior in tough water-repellent two-tone nylon</li> <li>Side inserts in waxed effect-fabric</li> <li>Rigid fabric covered handles</li> <li>Inverted zips to hide the teeth</li> <li>Laptop protected by Anti-Shock System</li> <li>Slim, lightweight design</li> <li>Durable Tech-Grip covering</li> <li>Easy access to buttons and jacks</li> <li>Stand for adjustable viewing angle</li> </ul>
9918 <div class="short-description"> <div class="std"> <div class="short-description"> <div class="std"><span>The iconic model of the collection the nylon Work Out 3 slim bag for MacBook Pro or laptop 13 inches stylistically echoes the original design but now features a contrasting color in the interior compartment and the accessories pouch which can be used in three different ways totally hidden partially visible or completely pulled out to expand capacity Comes with a detachable shoulder strap and interior compartment with Anti shock System to protect your laptop</span></div> </div> <div class="product-options"> </div> </div> </div> <div class="product-options"> </div>
9919 <div class="short-description"> <div class="std"> <div class="short-description"> <div class="std"> </div> <div class="short-description"> <div class="std">Extra slim nylon bag for MacBook Pro 15 inches or laptop 15 point 6 inches and it can also be used as a sleeve</div> <div class="std"> </div> <div class="std">The contrasting color pouch a versatile accessory for the entire Work Out 3 collection can be used in three different ways: totally hidden partially visible or completely pulled out to expand capacity</div> <div class="std"> </div> <div class="std">Comes with both a detachable shoulder strap and the strap for the Anti-slip System that protects your laptop</div> </div> <div class="product-options"> </div> </div> <div class="product-options"> </div> </div> </div> <div class="product-options"> </div>
9920 <ul><li>Protect a 15.6" PC or 15" MacBook and 10" tablet in dedicated pockets</li> <li>Safeguard a phone, sunglasses or other valuables in SafeZone compartment with hidden pocket behind removable hard-shell cup</li> <li>Secure gear in spacious side-access storage using large mesh pocket to separate smaller items</li> <li>Keep small items safe and accessible with interior pockets</li> <li>Make travel easy by attaching bag to rolling luggage using the pass-through panel</li> <li>Easily store a water bottle in mesh side pocket and keep small belongings safe in adjacent side zippered pocket</li> <li>Carry in comfort with mesh-wrapped EVA shoulder straps and adjustable sternum strap</li> </ul>
9921 <ul><li>Protect a 15.6" PC and 10" tablet in dedicated pockets</li> <li>Safeguard glasses or other valuables in SafeZone compartment</li> <li>Easily convert bag from a briefcase to a backpack for versatile carry options</li> <li>Make travel easy by attaching bag to rolling luggage</li> <li>Carry comfortably in briefcase mode</li> <li>Secure contents in briefcase or backpack mode using multiple internal organization pockets</li> </ul><p>Multi-compartment, organizational bag for a 15.6" PC, tablet, documents and accessories.</p>
9922 <ul><li>Padded, integrated laptop compartment holds up to a 15" MacBook Pro/PC and a tablet</li> <li>Crushproof SafeZone compartment for sunglasses and fragile gear includes a dedicated phone pocket</li> <li>SafeZone compartment can be locked or removed altogether for extra space</li> <li>Carrying comfort and breathability, thanks to perforated EVA shoulder straps with mesh covering and padded back panel with airflow channels</li> <li>Water-resistant fabrics and zippers combine to create a lightweight, protective bag</li> <li>Organization compartment keeps cords and other accessories at hand but out of the way</li> </ul><p>Durable backpack with dedicated electronics protection plus feature-rich storage for all essential gear.</p>
9923 <ul><li>Padded, integrated laptop compartment holds up to a 15" MacBook Pro/PC and a tablet</li> <li>Crushproof SafeZone compartment for sunglasses and fragile gear includes a dedicated phone pocket</li> <li>SafeZone compartment can be locked or removed altogether for extra space</li> <li>Carrying comfort and breathability, thanks to perforated EVA shoulder straps with mesh covering and padded back panel with airflow channels</li> <li>Water-resistant fabrics and zippers combine to create a lightweight, protective bag</li> <li>Organization compartment keeps cords and other accessories at hand but out of the way</li> </ul><p>Durable backpack with dedicated electronics protection plus feature-rich storage for all essential gear.</p>
9924 <ul><li><span class="show-image-on-click">Fits up to a 13" MacBook Pro Thunderbolt 3 or 13" MacBook Pro with Retina display</span></li> <li><span>Rigid exterior provides added protection to your device</span></li> <li><span>Enhanced corner and edge protection</span></li> <li><span class="show-image-on-click">Elastic band keeps your laptop securely in place as you unzip the case</span></li> <li><span>Use your device while still in the case, thanks to the clamshell design that also protects against the elements</span></li> <li><span class="show-image-on-click">Internal storage pockets for accessories</span></li> <li><span>Carry options include top handles or a removable shoulder strap that adjusts for a secure fit</span></li> <li><span>Reflective Thule logo</span></li> </ul>
9925 <ul><li><span class="show-image-on-click">Fits up to a 13" MacBook Pro Thunderbolt 3 or 13" MacBook Pro with Retina display</span></li> <li><span>Rigid exterior provides added protection to your device</span></li> <li><span>Enhanced corner and edge protection</span></li> <li><span class="show-image-on-click">Elastic band keeps your laptop securely in place as you unzip the case</span></li> <li><span>Use your device while still in the case, thanks to the clamshell design that also protects against the elements</span></li> <li><span class="show-image-on-click">Internal storage pockets for accessories</span></li> <li><span>Carry options include top handles or a removable shoulder strap that adjusts for a secure fit</span></li> <li><span>Reflective Thule logo</span></li> </ul>
9926 <ul><li>Can be carried in two different ways: as a backpack and a shoulder bag (all straps tuck away when not in use)</li> <li>Laptop and tablet can be carried separate from the bag in removable sleeve with tablet storage, PowerPocket and accessory organization</li> <li>Cords are neatly managed between your device and your mobile charger in the internal PowerPocket</li> <li>Keep belongings organized and contained with the zippered mesh divider in the main compartment</li> <li>Separate your shoes and dirty laundry from other belongings in the multi-purpose compartment</li> <li>Smooth lifting and rearranging in overhead bins with top, side and bottom grab handles</li> <li>Complies with carry-on requirements for most airlines</li> <li>Effortless travel thanks to secure attachment to rolling luggage using the pass-through panel</li> <li>Securely store and easily access important documents in hidden passport pocket behind pass-through panel</li> <li>Quick access to keys, wallet and smaller items through zippered mesh pocket</li> </ul><p>A versatile, soft-sided carry-on designed to help maximize packing space. Includes a separate sleek laptop sleeve for travel convenience.</p>
9927 <ul><li>Can be carried in two different ways: as a backpack and shoulder bag (all straps tuck away when not in use)</li> <li>Laptop and tablet can be carried separate from the bag in removable sleeve with tablet storage, PowerPocket and accessory organization</li> <li>Cords are neatly managed between your device and your mobile charger in the internal PowerPocket</li> <li>Keep belongings organized and contained with the zippered mesh divider in the main compartment</li> <li>Separate your shoes and dirty laundry from other belongings in the multi-purpose compartment</li> <li>Smooth lifting and rearranging in overhead bins with top, side and bottom grab handles</li> <li>Complies with carry-on requirements for most airlines</li> <li>Effortless travel thanks to secure attachment to rolling luggage using the pass-through panel</li> <li>Securely store and easily access important documents in hidden passport pocket behind pass-through panel</li> <li>Quick access to keys, wallet and smaller items through zippered mesh pocket</li> </ul><p>A versatile, soft-sided carry-on designed to help maximize packing space. Includes a separate sleek laptop sleeve for travel convenience.</p>
9928 <ul><li>Easy access to contents through wide rolltop opening with magnetic closure</li> <li>Keep clothes organised while traveling to removable packing cube</li> <li>Protects your laptop 15 inch MacBook Pro in the padded laptop sleeve with SafeEdge construction and secure flap closure</li> <li>Access your laptop through the top-loading compartment or the side zipper</li> <li>Cords are neatly managed between your device and your mobile charger in the internal PowerPocket</li> <li>Protect your tablet in the dedicated storage pocket with soft, interior lining</li> <li>Quickly retrieve internal contents through zippered side access panel</li> <li>Carry comfortably with breathable perforated EVA shoulder straps with mesh covering and padded back panel</li> <li>Make traveling easier by attaching to rolling luggage using the pass-through panel</li> <li>Securely keep small items and a water bottle within reach in the expandable zippered side pocket</li> </ul><p>Dual purpose pack functions as a travel bag or an everyday backpack Use the packing cube for effortless travel and remove for daily use</p>
9929 <ul><li>Easy access to contents through wide rolltop opening with magnetic closure</li> <li>Keep clothes organised while traveling to removable packing cube</li> <li>Protects your laptop (15" MacBook Pro or 15.6" PC) in the padded laptop sleeve with SafeEdge construction and secure flap closure</li> <li>Access your laptop through the top-loading compartment or the side zipper</li> <li>Cords are neatly managed between your device and your mobile charger in the internal PowerPocket</li> <li>Protect your tablet in the dedicated storage pocket with soft, interior lining</li> <li>Quickly retrieve internal contents through zippered side access panel</li> <li>Carry comfortably with breathable perforated EVA shoulder straps with mesh covering and padded back panel</li> <li>Make traveling easier by attaching to rolling luggage using the pass-through panel</li> <li>Securely keep small items and a water bottle within reach in the expandable, zippered side pocket</li> </ul><p>Dual-purpose pack functions as a travel bag or an everyday backpack. Use the packing cube for effortless travel and remove for daily use.</p>
9930 <ul><li>Easy to pack more, separate clean from dirty or keep clothes in place thanks to the internal compression panel</li> <li>Smooth and easy transport with tough, over sized wheels and V-Tubing telescoping handles</li> <li>Effortless travel thanks to the piggyback strap attachment loop that allows an additional bag to be hooked on</li> <li>Bag design absorbs the impact of travel due to the durable exoskeleton and molded polycarbonate back panel</li> <li>Smooth lifting and rearranging in overhead bins with top, side and bottom grab handles</li> <li>Complies with carry-on requirements for most airlines</li> <li>Divided main compartment keeps clean-from-dirty, wet-from-dry, and work-from-play</li> <li>Protects contents from the elements with durable, water-resistant materials</li> <li>Quick access to keys, wallet and smaller items through zippered mesh pocket</li> <li>Built-in ID card slot simplifies identification of bag</li> </ul><p>A sleek and durable 2-wheel carry-on complete with a compression panel to maximize packing space and minimize wrinkling.</p>
9931 <ul><li>Easy to pack more, separate clean from dirty or keep clothes in place thanks to the internal compression panel</li> <li>Smooth and easy transport with tough, over sized wheels and V-Tubing telescoping handles</li> <li>Effortless travel thanks to the piggyback strap attachment loop that allows an additional bag to be hooked on</li> <li>Bag design absorbs the impact of travel due to the durable exoskeleton and molded polycarbonate back panel</li> <li>Smooth lifting and rearranging in overhead bins with top, side and bottom grab handles</li> <li>Complies with carry-on requirements for most airlines</li> <li>Divided main compartment keeps clean-from-dirty, wet-from-dry, and work-from-play</li> <li>Protects contents from the elements with durable, water-resistant materials</li> <li>Quick access to keys, wallet and smaller items through zippered mesh pocket</li> <li>Built-in ID card slot simplifies identification of bag</li> </ul><p>A sleek and durable 2-wheel carry-on complete with a compression panel to maximize packing space and minimize wrinkling.</p>
9932 <ul><li>Easy to pack more, separate clean from dirty or keep clothes in place thanks to the internal compression panel</li> <li>Smooth and easy transport with tough, over sized wheels and V-Tubing telescoping handles</li> <li>Effortless travel thanks to the piggyback strap attachment loop that allows an additional bag to be hooked on</li> <li>Bag design absorbs the impact of travel due to the durable exoskeleton and molded polycarbonate back panel</li> <li>Smooth lifting and rearranging in overhead bins with top, side and bottom grab handles</li> <li>Complies with carry-on requirements for most airlines</li> <li>Divided main compartment keeps clean-from-dirty, wet-from-dry, and work-from-play</li> <li>Protects contents from the elements with durable, water-resistant materials</li> <li>Quick access to keys, wallet and smaller items through zippered mesh pocket</li> <li>Built-in ID card slot simplifies identification of bag</li> </ul><p>A sleek and durable 2-wheel carry-on complete with a compression panel to maximize packing space and minimize wrinkling.</p>