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 (
    9623, 9639, 9640, 9641, 9642, 9643, 9647, 
    9656, 9659, 9660, 9661, 9662, 9663, 
    9664, 9665, 9675, 9676, 9677, 9678, 
    9679, 9686, 9687, 9688, 9689, 9690, 
    9691, 9692, 9696, 9697, 9698, 9699, 
    9700
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00074

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 (9623,9639,9640,9641,9642,9643,9647,9656,9659,9660,9661,9662,9663,9664,9665,9675,9676,9677,9678,9679,9686,9687,9688,9689,9690,9691,9692,9696,9697,9698,9699,9700)) 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
9623 <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>
9639 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Sleek, slim profile perfect for everyday use</span></li> <li><span class="a-list-item">Premium saffiano finish</span></li> <li><span class="a-list-item">Styled in kate spade new york's signature colors and materials</span></li> <li><span class="a-list-item">Featuring kate spade new york's signature gold logo detail</span></li> </ul>
9640 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Co-molded hard-shell 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> <li><span class="a-list-item">Premium signature kate spade new york graphic prints and colors</span></li> <li><span class="a-list-item">Glossy finish enhances the overall style and creates a sleek look and feel</span></li> </ul>
9641 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Sleek, slim profile perfect for everyday use</span></li> <li><span class="a-list-item">Premium saffiano finish</span></li> <li><span class="a-list-item">Styled in kate spade new york's signature colors and materials</span></li> <li><span class="a-list-item">Featuring kate spade new york's signature gold logo detail</span></li> </ul>
9642 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Co-molded hard-shell 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> <li><span class="a-list-item">Premium signature kate spade new york graphic prints and colors</span></li> <li><span class="a-list-item">Glossy finish enhances the overall style and creates a sleek look and feel</span></li> </ul>
9643 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Co-molded hard-shell 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> <li><span class="a-list-item">Premium signature kate spade new york graphic prints and colors</span></li> <li><span class="a-list-item">Glossy finish enhances the overall style and creates a sleek look and feel</span></li> </ul>
9647 <ul><li>Designed for use with a variety of smartphones</li> <li>Comfortably fits your finger</li> <li>Enamel finish</li> </ul>
9656 <ul><li><span>The perfect slim-fit solution for the back of your device.</span></li> <li><span>iGlaze excels at protecting from nicks and shocks without compromising on aesthetics</span></li> <li><span>Its ultra-slim profile ensures unhindered Smart Keyboard functionality, and all iPad Pro buttons remain easily accessible</span></li> <li><span>iGlaze is also surface-treated with a specialized coating to improve scratch-resistance and durability</span></li> </ul>
9659 <ul><li>Shock-absorbing frame offers durable, 360-degree protection.</li> <li>Unique origami folding cover doubles as a stand.</li> <li>Stand supports three viewing angles: typing, reading and browsing.</li> <li>Supports iPad's auto-wake/sleep function.</li> </ul>
9660 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Detachable Bluetooth keyboard with 130 hours of battery life and LED power indicator.</span></li> <li><span class="a-list-item">Folding VersaCover doubles as a stand in portrait and landscape modes.</span></li> <li><span class="a-list-item">Ultra-thin and lightweight design at 14.1 ounces (400 grams).</span></li> <li><span class="a-list-item">Support for iPad auto-wake and sleep functionality</span></li> </ul>
9661 <ul class="top-section-list"><li class="top-section-list-item">Shock-Absorbing Frame</li> <li class="top-section-list-item">360 degree Protection</li> <li class="top-section-list-item">Folding Cover Doubles as a Stand</li> <li class="top-section-list-item">Supports Multiple Viewing Modes</li> </ul>
9662 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Designed for the Apple iPad Pro 12 9 inch but Not compatible with other iPad models</span></li> <li><span class="a-list-item">Magnetic flap keeps cover closed and secure Supports iPad auto wake sleep function</span></li> <li><span class="a-list-item">Custom cut out to support Apple Pencil charging Microfiber lined front cover to cushion and protect your touchscreen</span></li> <li><span class="a-list-item">Stand supports three viewing angles typing reading and browsing Unique origami folding cover doubles as a stand</span></li> </ul>
9663 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Designed for the Apple iPad Pro 11 inch Not compatible with other iPad models.</span></li> <li><span class="a-list-item">Magnetic flap keeps cover closed and secure Supports iPad auto wakesleep function</span></li> <li><span class="a-list-item">Custom cut out to support Apple Pencil charging</span></li> <li><span class="a-list-item">Stand supports three viewing angles typing reading and browsing Unique origami folding cover doubles as a stand</span></li> <li><span class="a-list-item">Microfiber lined front cover to cushion and protect your touchscreen</span></li> </ul>
9664 <ul><li>Shock-absorbing frame offers durable, 360-degree protection.</li> <li>Unique origami folding cover doubles as a stand.</li> <li>Stand supports three viewing angles: typing, reading and browsing.</li> <li>Supports iPad's auto-wake/sleep function.</li> </ul>
9665 <ul class="top-section-list"><li class="top-section-list-item">Shock-Absorbing Frame</li> <li class="top-section-list-item">360 degrees Protection</li> <li class="top-section-list-item">Folding Cover Doubles as a Stand</li> <li class="top-section-list-item">Supports Multiple Viewing Modes</li> </ul>
9675 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">360-degree protection with touch-sensitive front cover</span></li> <li><span class="a-list-item">Magnetic clasp keeps cover closed when not in use</span></li> <li><span class="a-list-item">Offers military-grade drop protection (MIL-STD0810G, SGS-certified)</span></li> <li><span class="a-list-item">Convenient folding stand design for watching videos on your iPhone</span></li> <li><span class="a-list-item">Wireless-charging compatible</span></li> </ul>
9676 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">360-degree protection with touch-sensitive front cover</span></li> <li><span class="a-list-item">Magnetic clasp keeps cover closed when not in use</span></li> <li><span class="a-list-item">Offers military-grade drop protection (MIL-STD0810G, SGS-certified)</span></li> <li><span class="a-list-item">Convenient folding stand design for watching videos on your iPhone</span></li> <li><span class="a-list-item">Wireless-charging compatible</span></li> </ul>
9677 <div> <ul><li>Military-grade drop protection (MIL-STD-810G, SGS-certified)</li> <li>Front viewing window: check date/time without opening the cover</li> <li>SensArray pads: answer calls without opening the cover</li> <li>Smart folding design for watching videos</li> <li>Compatible with wireless charging</li> </ul></div>
9678 <div> <ul><li>Military-grade drop protection (MIL-STD-810G, SGS-certified)</li> <li>Front viewing window: check date/time without opening the cover</li> <li>SensArray pads: answer calls without opening the cover</li> <li>Smart folding design for watching videos</li> <li>Compatible with wireless charging</li> </ul><p>Moshi's SenseCover is an intricately-engineered portfolio case that provides smart functionality and 360-degree protection. Embedded SensArray pads on the cover allow you to answer and talk on the phone, and a viewing window ensures you can use Apple Pay, and facial recognition to unlock your phone - all without having to open the cover. Moshi’s SenseCover is ideal for users who appreciate practicality on the go.</p> </div>
9679 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">360-degree protection with touch-sensitive front cover</span></li> <li><span class="a-list-item">Magnetic clasp keeps cover closed when not in use</span></li> <li><span class="a-list-item">Offers military-grade drop protection (MIL-STD0810G, SGS-certified)</span></li> <li><span class="a-list-item">Convenient folding stand design for watching videos on your iPhone</span></li> <li><span class="a-list-item">Wireless-charging compatible</span></li> </ul>
9686 <ul><li>Extremely thin (< 1.0 mm) protection for your iPhone</li> <li>Hardened surface treatment for enhanced scratch protection</li> <li>Designed and tested to be "flash-friendly" with a customized flash cut-out</li> <li>All iPhone buttons are easily accessible</li> </ul>
9687 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Three card slots and a full-length inner pocket for additional storage.</span></li> <li><span class="a-list-item">360-degree protection against scratches and shocks.</span></li> <li><span class="a-list-item">Convenient folding stand design for watching videos.</span></li> <li><span class="a-list-item">All buttons and cameras remain accessible while inside the case.</span></li> <li><span class="a-list-item">Wireless-charging compatible</span></li> </ul>
9688 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Three card slots and a full-length inner pocket for additional storage.</span></li> <li><span class="a-list-item">360-degree protection against scratches and shocks.</span></li> <li><span class="a-list-item">Convenient folding stand design for watching videos.</span></li> <li><span class="a-list-item">All buttons and cameras remain accessible while inside the case.</span></li> <li><span class="a-list-item">Wireless-charging compatible</span></li> </ul>
9689 <ul><li>360-degree protection against scratches and shocks</li> <li>Convenient folding stand design for watching videos</li> <li>Three card slots and a full-length inner pocket for additional storage</li> <li>All buttons and cameras remain accessible while inside the case</li> <li>Equipped with Neato, a detachable and washable microfibre cleaning pad</li> <li>Offers military-grade drop protection (MIL-STD-810G, SGS-certified)</li> <li>Wireless charging compatible</li> </ul>
9690 <ul><li>Military-grade drop protection (MIL-STD-810G, SGS-certified)</li> <li>Card slot holds up to 2 cards</li> <li>Full-length inner pocket for cash and receipts</li> <li>Smart folding design for watching videos</li> <li>Compatible with wireless charging</li> </ul>
9691 <p>Carry your cards, cash, and iPhone in one sleek vegan leather case, which combines a weather-proof and durable exterior with soft Terahedron microfiber lining, reinforced with a shatter-proof frame. All buttons and cameras are fully accessible in the case. Overture turns into a convenient stand to watch videos and browse the web, and includes a washable Neato screen cleaner to keep the touchscreen fingerprint and smudge free.<br /></p><ul><li>Four card slots and a full-length inner pocket for additional storage</li> <li>360-degree protection against scratches and shocks</li> <li>Convenient folding stand design for watching videos</li> <li>Equipped with Neato, a detachable and washable microfiber cleaning pad</li> </ul>
9692 <ul><li>Military grade drop protection MIL STD 810GÂ SGS certified</li> <li>Card slot holds up to 2 cards</li> <li>Full length inner pocket for cash and receipts</li> <li>Smart folding design for watching videos</li> <li>Compatible with wireless charging </li> </ul>
9696 <ul><li>Ultra-slim case with military-grade drop protection</li> <li>Polymer resists abrasion, heat, and bending</li> <li>Fully encased volume and power buttons</li> <li>Raised bezel to protect your touchscreen when laid flat</li> <li>Wireless charging compatible</li> </ul><p>iGlaze for iPhone X is a hybrid case that is the ultimate fusion of design, functionality, and protection. A shatter-proof frame uses a proprietary process for a smart, stylish and protective high-gloss border. iGlaze safeguards your iPhone from drops, scratches, and shocks, and supports wireless charging, with a raised bevel to protect the screen when laid flat. A special coating resists abrasion, heat, and bending to keep luster over time.</p>
9697 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Three card slots and a full-length inner pocket for additional storage.</span></li> <li><span class="a-list-item">360-degree protection against scratches and shocks.</span></li> <li><span class="a-list-item">Convenient folding stand design for watching videos.</span></li> <li><span class="a-list-item">All buttons and cameras remain accessible while inside the case.</span></li> <li><span class="a-list-item">Wireless-charging compatible</span></li> </ul>
9698 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Ultra-slim case with military-grade drop-protection</span></li> <li><span class="a-list-item">Sophisticated twill pattern and metallized frame</span></li> <li><span class="a-list-item">TriClear coating resists water, dirt, and scratches</span></li> <li><span class="a-list-item">Raised bevel to protect your touchscreen when laid flat</span></li> <li><span class="a-list-item">Wireless-charging compatible</span></li> </ul>
9699 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">360 degree protection against scratches and shocks</span></li> <li><span class="a-list-item">Kickstand for convenient viewing in both portrait and landscape modes</span></li> <li><span class="a-list-item">Proprietary hybrid construction with fully encased volume and power buttons</span></li> <li><span class="a-list-item">Specialized surface coating to prevent color fading over time</span></li> <li><span class="a-list-item">Wireless charging compatible</span></li> </ul>
9700 <ul><li>Proprietary hybrid construction provides ample shock absorption and scratch resistance</li> <li>Ultra slim case with military grade drop protection</li> <li>Polymer resists abrasion heat and bending</li> <li>Fully encased volume and power buttons</li> <li>Slim yet robust protection with fully encased volume and power buttons</li> <li>Raised bezel protects the display when the iPhone is laid flat</li> </ul><p> </p>