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 (
    5846, 5847, 5848, 5849, 5850, 5851, 5852, 
    5853, 5854, 5855, 5856, 5857, 5858, 
    5859, 5860, 5861, 5862, 5863, 5864, 
    5865, 5866, 5867, 5868, 5869, 5870, 
    5871, 5872, 5873, 5874, 5875, 5876, 
    5877
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00077

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 (5846,5847,5848,5849,5850,5851,5852,5853,5854,5855,5856,5857,5858,5859,5860,5861,5862,5863,5864,5865,5866,5867,5868,5869,5870,5871,5872,5873,5874,5875,5876,5877)) 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
5846 <ul><li>Safeguard your phone with this folio phone case while you work out </li><li>The anti slip grip band lets you keep your phone in your hand while you run while the back strap offers a horizontal and vertical stand function that allows you to watch workout videos easily </li><li>It features a tough shock dispersing TPU body </li><li>It give you a flexible front pocket to carry our cards and keys during your workout</li></ul>
5847 <ul><li>TPU/rubber case with matte transparent sides.</li> <li>Printed Trefoil inside.</li> <li>Flexible and highly shock resistant.</li> <li>Available in seasonal designs matching the women's Adidas Originals.</li> <li>Overlaying rubberized edges for additional screen protection.</li> <li>Easy access to buttons and inserts.</li> </ul>
5848 <ul><li>TPU/rubber case with matte transparent sides.</li> <li>Printed Trefoil inside.</li> <li>Flexible and highly shock resistant.</li> <li>Overlaying rubberized edges for additional screen protection.</li> <li>Easy access to buttons and inserts.</li> </ul>
5849 <ul><li>Embossed Adidas Originals logo inside.</li> <li>Microfiber lining for extra protection with stitched 3-Stripes.</li> <li>Easy access to buttons and inserts.</li> </ul>
5850 <ul><li>Keep your phone safe and secure while you work out with this lightweight armband</li> <li>It features a stretchy knit strap with an adjustable closure and reflective elements</li> <li>The seamless design allows for comfortable freedom of movement and easy access to all of your device's functions and features</li> </ul>
5851 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Mobile Accessory Type : Cases & Covers</span></li><li><span class="a-list-item">Compatible Devices Model : Apple iPhone X/XS</span></li><li><span class="a-list-item">Color Family : Blue</span></li><li><span class="a-list-item">Brand : Adidas</span></li><li><span class="a-list-item">Compatible with : Apple</span></li></ul>
5852 <p>Dress your smartphone in iconic street style with this Adidas Originals case. The case features a hard, durable backplate and a resilient bumper made of soft, flexible TPU to help safeguard your phone against impact and wear and tear. It features a debossed and printed Trefoil logo on the front.</p>
5853 <p>Dress your smartphone in iconic street style with this Adidas Originals case. The case features a hard, durable backplate and a resilient bumper made of soft, flexible TPU to help safeguard your phone against impact and wear and tear. It features a debossed and printed Trefoil logo on the front.</p>
5854 <p>Safeguard your phone while you work out with this lightweight phone case. The anti-slip grip band lets you keep your phone in your hand while you run, and offers a horizontal and vertical stand function that allows you to watch workout videos more easily. A tough polycarbonate backshield and TPU bumpers offer optimal protection.</p>
5855 <p>Dress your smartphone in iconic street style with this Adidas Originals case. The case features a hard, durable backplate and a rear. It features a debossed and printed Trefoil logo on the front.<br /></p>
5856 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Snap-on design with polycarbonate backplate</span></li><li><span class="a-list-item">Flexible for easy device removal</span></li><li><span class="a-list-item">Impact-resistant TPU construction helps protect against drops</span></li><li><span class="a-list-item">Raised edge helps protect screen from scratches</span></li><li><span class="a-list-item">Bezel in camera hole prevents flash distortion</span></li></ul>
5857 <p>Dress your smartphone in iconic street style with this Adidas Originals case. The case features a hard, durable backplate and a rear. It features a debossed and printed Trefoil logo on the front.<br /></p>
5858 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Brand : Adidas</span></li><li><span class="a-list-item">Color : Black</span></li><li><span class="a-list-item">Mobile Accessory Type : Cases & Covers</span></li><li><span class="a-list-item">Compatible with : Apple</span></li><li><span class="a-list-item">Compatible Devices Model : Apple iPhone XS Max</span></li><li><span class="a-list-item">Color Family : Blue</span></li><li><span class="a-list-item">Are batteries needed to power the product or is this product a battery : No</span></li><li><span class="a-list-item">Is this a Dangerous Good or a Hazardous Material, Substance or Waste that is regulated for transportation, storage, and/or disposal? : No</span></li></ul>
5859 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Mobile Accessory Type : Cases & Covers</span></li><li><span class="a-list-item">Compatible Devices Model : Apple iPhone X/XS</span></li><li><span class="a-list-item">Color Family : Blue</span></li><li><span class="a-list-item">Brand : Adidas</span></li><li><span class="a-list-item">Compatible with : Apple</span></li></ul>
5860 <p><em></em> </p><ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Mobile Accessory Type : Cases & Covers</span></li><li> Color Family : Blue</li><li><span class="a-list-item">Brand : Adidas</span></li><li><span class="a-list-item">Compatible with : Apple</span></li></ul>
5861 <p>Safeguard your phone while you work out with this lightweight phone case. The anti-slip grip band lets you keep your phone in your hand while you run, and offers a horizontal and vertical stand function that allows you to watch workout videos more easily. A tough polycarbonate backshield and TPU bumpers offer optimal protection.<br /></p>
5862 <p>Safeguard your phone while you work out with this lightweight phone case. The anti-slip grip band lets you keep your phone in your hand while you run, and offers a horizontal and vertical stand function that allows you to watch workout videos more easily. A tough polycarbonate backshield and TPU bumpers offer optimal protection.</p>
5863 <p>Safeguard your phone with this folio phone case while you work out. The anti-slip grip band lets you keep your phone in your hand while you run, while the back strap offers a horizontal and vertical stand function that allows you to watch workout videos easily. It features a tough shock-dispersing TPU body. It give you a flexible front pocket to carry our cards and keys during your workout</p>
5864 <ul><li>TPU/rubber case with matte transparent sides.</li> <li>Printed Trefoil inside.</li> <li>Flexible and highly shock resistant.</li> <li>Available in seasonal designs matching the women's Adidas Originals.</li> <li>Overlaying rubberized edges for additional screen protection.</li> <li>Easy access to buttons and inserts.</li> </ul>
5865 <ul><li>TPU/rubber case with matte transparent sides.</li> <li>Printed Trefoil inside.</li> <li>Flexible and highly shock resistant.</li> <li>Available in seasonal designs matching the women's Adidas Originals.</li> <li>Overlaying rubberized edges for additional screen protection.</li> <li>Easy access to buttons and inserts.</li> </ul>
5866 <ul><li>Embossed Adidas Originals logo inside.</li> <li>Microfiber lining for extra protection with stitched 3-Stripes.</li> <li>Easy access to buttons and inserts.</li> </ul>
5867 <ul><li>Embossed Adidas Originals logo inside</li> <li>Microfiber lining for extra protection with stitched 3 Stripes</li> <li>Easy access to buttons and inserts</li> </ul>
5868 <ul><li>Keep your phone safe and secure while you work out with this lightweight armband.</li> <li>It features a stretchy knit strap with an adjustable closure and reflective elements.</li> <li>The seamless design allows for comfortable freedom of movement and easy access to all of your device's functions and features.</li> </ul>
5869 <ul class="a-unordered-list a-vertical a-spacing-none"><li><span class="a-list-item">Hard shell cradle case with non-slip rubber coating for perfect handling</span></li><li><span class="a-list-item">Microfibre inner material for extra protection</span></li><li><span class="a-list-item">Easy access to buttons and ports remain accessible</span></li></ul>
5870 <ul class="jsx-1889249662 highlights"><li class="jsx-1889249662">Flexible for easy device removal</li><li class="jsx-1889249662">Edge slit allows wristband attachment</li><li class="jsx-1889249662">Impact-resistant TPU construction helps protect against drop</li></ul>
5871 <ul class="jsx-1889249662 highlights"><li class="jsx-1889249662">Flexible for easy device removal</li><li class="jsx-1889249662">Edge slit allows wristband attachment</li><li class="jsx-1889249662">Impact-resistant TPU construction helps protect against drop</li></ul>
5872 <ul><li>Lightweight armband.</li> <li>Stretchy knit strap.</li> <li>Adjustable closure.</li> <li>Reflective elements.</li> <li>Seamless design allows for comfortable freedom of movement.</li> <li>Easy access to all of your device's functions and features.</li> </ul><p><br /></p>
5873 <p>Safeguard your phone while you work out with this lightweight phone case. The anti-slip grip band lets you keep your phone in your hand while you run, and offers a magnetic stand function that allows you to watch workout videos more easily. A tough polycarbonate backshield and TPU bumpers offer optimal protection.<br />TPU polymer construction with polycarbonate backplate and embossed pattern for shock dispersion</p>
5874 <p>Safeguard your phone while you work out with this lightweight phone case. The anti-slip grip band lets you keep your phone in your hand while you run, and offers a magnetic stand function that allows you to watch workout videos more easily. A tough polycarbonate backshield and TPU bumpers offer optimal protection.<br />TPU polymer construction with polycarbonate backplate and embossed pattern for shock dispersion.</p>
5875 <ul><li>Keep your phone safe and secure while you work out with this lightweight armband.</li> <li>It features a stretchy knit strap with an adjustable closure and reflective elements.</li> <li>The seamless design allows for comfortable freedom of movement and easy access to all of your device's functions and features.</li> </ul>
5876 <ul><li>Keep your phone safe and secure while you work out with this lightweight armband.</li> <li>It features a stretchy knit strap with an adjustable closure and reflective elements.</li> <li>The seamless design allows for comfortable freedom of movement and easy access to all of your device's functions and features.</li> </ul>
5877 <ul><li>Keep your phone safe and secure while you work out with this lightweight armband.</li> <li>It features a stretchy knit strap with an adjustable closure and reflective elements.</li> <li>The seamless design allows for comfortable freedom of movement and easy access to all of your device's functions and features.</li> </ul>