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 (
    9581, 9582, 9583, 9584, 9585, 9586, 9587, 
    9588, 9589, 9590, 9591, 9592, 9593, 
    9594, 9595, 9596, 9597, 9598, 9599, 
    9600, 9601, 9602, 9603, 9604, 9605, 
    9606, 9607, 9608, 9609, 9610, 9611, 
    9612
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00073

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 (9581,9582,9583,9584,9585,9586,9587,9588,9589,9590,9591,9592,9593,9594,9595,9596,9597,9598,9599,9600,9601,9602,9603,9604,9605,9606,9607,9608,9609,9610,9611,9612)) 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
9581 <ul><li>Instantly for-fitting silicone cover</li> <li>Particularly molded and individually printing</li> </ul>
9582 <ul><li>Instantly form fitting silicone cover</li> <li>Particularly molded and individually printing</li> </ul>
9583 <ul><li>High precision molding is 100% form fitted to the Apple Keyboard keys allowing for an unparalleled tactile response.</li> <li>Made with durable, non-toxic engineering-grade thermoplastic urethane.</li> <li>Completely washable and reusable.</li> <li>Measures 0.1 mm thin (one-fifth the thickness of silicone protectors)</li> <li>Russian Keyboard.</li> </ul>
9584 <ul><li>Instantly form fitting silicone coverParticularly molded and individually printing</li> <li><span>Protect your beloved Macbook from dust, grease and other offenders with Benaw's range of Keyboard-savers. </span>  </li> </ul>
9585 <ul><li class="top-section-list-item">Anodized Aluminum</li> <li class="top-section-list-item">DuraBraid Cable</li> <li class="top-section-list-item">Apple MFi Certified</li> </ul>
9586 <ul><li>Quickly and easily charge three devices from the comfort of your vehicle with the 3 Port Car Charger Designed to charge your smartphone and tablet quickly and safely</li> <li>Quickly and safely charge three devices from the comfort of your vehicle</li> <li> Capable of charging two iPhones and one iPad or a combination of Android and other USB powered devices</li> <li>The 3 Port Car Charger is compact yet sports a powerful 2 4 Amp port that will Fast Charge your iPhone Galaxy S and even iPad at the fastest possible speed Perfect to power up your device on the next road trip or on your way home from work</li> <li>The sleek and modern design will help eliminate clutter and when it is no longer in use simply store its compact size in your glove compartment or storage bin</li> </ul>
9587 <ul><li><span>Quickly and easily charge three devices from the comfort of your vehicle with this 3 Port Car Charger designed to charge your smartphone and tablet quickly and safely</span></li> <li><span>Compact yet sports a powerful 2 4 Amp port that will Fast Charge your iPhone Galaxy S and even iPad at the fastest possible speed</span></li> <li><span> Perfect to power up your device on the next road trip or on your way home from work</span></li> <li><span>The sleek and modern design will help eliminate clutter and when it is no longer in use just simply store its compact size in your glove compartment or storage bin</span></li> </ul>
9588 <ul><li><span>Front seat and back seat passengers can all continue using their devices while charging with the Kanex Shareable Car Charger</span></li> <li><span>Front seat and back seat passengers can all continue using their devices while charging with the Kanex Shareable Car Charger an innovative 4 Port USB car charger with a 6ft extended USB hub for convenient backseat charging</span></li> <li><span>The GoPower Shareable Car Charger is compact yet equipped with four powerful 2 4 Amp ports that will quickly charge your iPhones iPads Perfect for quick charging on the go</span></li> <li><span>The GoPower Shareable Car Charger features over current and circuit protection to ensure that your device is protected at all times while charging</span></li> </ul><p> </p>
9589 <ul><li>Wireless, ultra-slim keyboard uses Bluetooth to connect, no receiver necessary.</li> <li>Long-lasting, built-in rechargeable battery</li> <li>Connect up to 4 devices using Multi-Sync Bluetooth keys</li> <li>Low-profile, backlit keys provide an enjoyable typing experience in low-light environments</li> <li>A compact keyboard includes Mac layout and hotkeys</li> <li>Ultra-slim, mini keyboard with a premium aluminum finish</li> </ul>
9590 <ul><li><span>The Kanex USB C to USB 2 0 Charging Cable has a reversible USB C connector on one end</span></li> <li><span> It connects to most USB wall or car chargers</span></li> <li><span>Has a reversible USB C connector on one end and It connects to most USB wall or car chargers</span></li> <li><span>This extra long cable is ideal in environments where you need some extra range</span></li> <li><span> At 12 feet in length it can easily reach behind your desk couch nightstand and even the back seat of your car</span></li> </ul>
9591 <ul><li>Dura Braid Nylon fiber is an encased cable designed to reduce tangles increase durability and offers a unique premium look and feel to your daily charge and sync routine</li> <li>Premium aluminum finish matches your Apple Device Color</li> </ul><p> </p>
9592 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Accessorize: Style perfectly with our signature Kate Spade patterns to express your personality while protecting your phone</span></li> <li><span class="a-list-item">Glossy Finish: Our sleek finish enhances the overall style and can be easily slipped in and out of pockets</span></li> <li><span class="a-list-item">Easy Grip: The non-slip grip design offers a secure feel along with the perfect grip on your phone</span></li> <li><span class="a-list-item">Shock Resistant: Co-molded protective bumper lines along the edges of your phone for added drop protection</span></li> </ul>
9593 <ul><li>Accessorize and Style perfectly with the signature Kate Spade patterns to express your personality while protecting your phone</li> <li>Glossy Finish sleek finish enhances the overall style and can be easily slipped in and out of pockets</li> <li>Easy Grip The non-slip grip design offers a secure feel along with the perfect grip on your phone</li> <li>Shock Resistant Co molded protective bumper lines along the edges of your phone for added drop protection</li> <li>Ring kickstand The rotating ring securely attaches to the case and comfortably fits your finger for support while using your device</li> <li>The ring also doubles as a kickstand</li> <li>Perfect gift This set is already wrapped and ready to gift</li> </ul>
9594 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Accessorize: Style perfectly with our signature Kate Spade patterns to express your personality while protecting your phone</span></li> <li><span class="a-list-item">Glossy Finish: Our sleek finish enhances the overall style and can be easily slipped in and out of pockets</span></li> <li><span class="a-list-item">Easy Grip: The non-slip grip design offers a secure feel along with the perfect grip on your phone</span></li> <li><span class="a-list-item">Shock Resistant: Co-molded protective bumper lines along the edges of your phone for added drop protection</span></li> </ul>
9595 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Accessorize: Style perfectly with our signature Kate Spade patterns to express your personality while protecting your phone</span></li> <li><span class="a-list-item">Glossy Finish: Our sleek finish enhances the overall style and can be easily slipped in and out of pockets</span></li> <li><span class="a-list-item">Easy Grip: The non-slip grip design offers a secure feel along with the perfect grip on your phone</span></li> <li><span class="a-list-item">Shock Resistant: Co-molded protective bumper lines along the edges of your phone for added drop protection</span></li> </ul>
9596 <ul><li>Accessorize and Style perfectly with the signature Kate Spade patterns to express your personality while protecting your phone</li> <li>Glossy Finish sleek finish enhances the overall style and can be easily slipped in and out of pockets</li> <li>Easy Grip The non-slip grip design offers a secure feel along with the perfect grip on your phone</li> <li>Shock Resistant Co molded protective bumper lines along the edges of your phone for added drop protection</li> <li>Ring kickstand The rotating ring securely attaches to the case and comfortably fits your finger for support while using your device</li> <li>The ring also doubles as a kickstand</li> <li>Perfect gift This set is already wrapped and ready to gift</li> </ul>
9597 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Accessorize: Style perfectly with our signature Kate Spade patterns to express your personality while protecting your phone</span></li> <li><span class="a-list-item">Glossy Finish: Our sleek finish enhances the overall style and can be easily slipped in and out of pockets</span></li> <li><span class="a-list-item">Easy Grip: The non-slip grip design offers a secure feel along with the perfect grip on your phone</span></li> <li><span class="a-list-item">Shock Resistant: Co-molded protective bumper lines along the edges of your phone for added drop protection</span></li> </ul>
9598 <ul><li>Quick and easy access to your tablet</li> <li>Soft padding and interior lining protects your tablet and keeps it clean</li> <li>Microfibre lining</li> <li>Stand function</li> </ul>
9599 <ul><li>Quick and easy access to your tablet</li> <li>Soft padding and interior lining protects your tablet and keeps it clean</li> <li>Stand function</li> </ul>
9600 <ul><li>Quick and easy access to your tablet</li> <li>Soft padding and interior lining protects your tablet and keeps it clean</li> <li>Microfibre lining</li> <li>Stand function</li> </ul>
9601 <ul><li>Quick and easy access to your tablet</li> <li>Soft padding and interior lining protects your tablet and keeps it clean</li> <li>Stand function</li> </ul>
9602 <ul><li>Rigid polycarbonate exterior shell with a rubberized silicone bumper absorbs shock to help shield your phone against damage caused by bumps and drops</li> <li>Access to ports and controls: Lets you utilize your devices features without removing the case</li> <li>Graphic print along with a glossy finish for a sleek, stylish appearance</li> <li>The graphic print with a fun fashionable look</li> </ul>
9603 <ul><li>Compatible with Apple iPhone 8 / 7 to protect and complement your device</li> <li>Slim, sleek profile</li> <li>Safeguards your device without being overly bulky</li> <li>Saffiano Leather Construction adds reliable protection and sophisticated style</li> </ul>
9604 <ul><li>Compatible with Apple iPhone 8 / 7 to protect and complement your device</li> <li>Slim, sleek profile</li> <li>Safeguards your device without being overly bulky</li> <li>Saffiano Leather Construction adds reliable protection and sophisticated style</li> </ul>
9605 <ul><li>Jewelry inspired genuine iridescent crystals</li> <li>High gloss metallic finish</li> <li>Dual layer protection with a slim silhouette</li> <li>Shock absorbing bumper</li> <li>Refined metallic buttons</li> </ul>
9606 <ul><li>Jewellery-inspired genuine iridescent crystals</li> <li>High gloss metallic finish</li> <li>Dual layer protection with a slim silhouette</li> <li>Shock absorbing bumper</li> <li>Refined metallic buttons</li> </ul>
9607 <ul><li>Crystal stud detailing for a touch of sparkle</li> <li>Sleek stylish design with tangle free cord</li> <li>In line mic for hands free calling</li> <li>3 sizes of ear cushions included for perfect fit</li> </ul>
9608 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Accessorize: Style perfectly with our signature Kate Spade patterns to express your personality while protecting your phone</span></li> <li><span class="a-list-item">Glossy Finish: Our sleek finish enhances the overall style and can be easily slipped in and out of pockets</span></li> <li><span class="a-list-item">Easy Grip: The non-slip grip design offers a secure feel along with the perfect grip on your phone</span></li> <li><span class="a-list-item">Shock Resistant: Co-molded protective bumper lines along the edges of your phone for added drop protection</span></li> </ul>
9609 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Accessorize: Style perfectly with our signature Kate Spade patterns to express your personality while protecting your phone</span></li> <li><span class="a-list-item">Glossy Finish: Our sleek finish enhances the overall style and can be easily slipped in and out of pockets</span></li> <li><span class="a-list-item">Easy Grip: The non-slip grip design offers a secure feel along with the perfect grip on your phone</span></li> <li><span class="a-list-item">Shock Resistant: Co-molded protective bumper lines along the edges of your phone for added drop protection</span></li> </ul>
9610 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Accessorize: Style perfectly with our signature Kate Spade patterns to express your personality while protecting your phone</span></li> <li><span class="a-list-item">Glossy Finish: Our sleek finish enhances the overall style and can be easily slipped in and out of pockets</span></li> <li><span class="a-list-item">Easy Grip: The non-slip grip design offers a secure feel along with the perfect grip on your phone</span></li> <li><span class="a-list-item">Shock Resistant: Co-molded protective bumper lines along the edges of your phone for added drop protection</span></li> </ul>
9611 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Show off your personal style with the playful sophistication of Kate Spade New York</span></li> <li><span class="a-list-item">A transparent hardshell liquid case with glitter</span></li> <li><span class="a-list-item">Co-molded hardshell case and shock-resistant bumper provide long-lasting protection</span></li> <li><span class="a-list-item">Lightweight, easy-grip design perfect for everyday use</span></li> </ul>
9612 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Accessorize: Style perfectly with our signature Kate Spade patterns to express your personality while protecting your phone</span></li> <li><span class="a-list-item">Glossy Finish: Our sleek finish enhances the overall style and can be easily slipped in and out of pockets</span></li> <li><span class="a-list-item">Easy Grip: The non-slip grip design offers a secure feel along with the perfect grip on your phone</span></li> <li><span class="a-list-item">Shock Resistant: Co-molded protective bumper lines along the edges of your phone for added drop protection</span></li> </ul>