SELECT 
  product_descriptions.product_id, 
  product_descriptions.short_description, 
  IF(
    product_descriptions.short_description = '' 
    OR product_descriptions.short_description IS NULL, 
    product_descriptions.full_description, 
    ''
  ) AS full_description 
FROM 
  product_descriptions 
WHERE 
  product_descriptions.product_id IN (
    322071, 332071, 318111, 400712, 453516, 
    402032, 371671, 376951, 384111, 330751, 
    353191, 435032
  ) 
  AND product_descriptions.lang_code = 'en'

Query time 0.00156

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "10.02"
    },
    "table": {
      "table_name": "product_descriptions",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY",
        "product_id"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "product_id",
        "lang_code"
      ],
      "key_length": "11",
      "rows_examined_per_scan": 12,
      "rows_produced_per_join": 12,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "8.82",
        "eval_cost": "1.20",
        "prefix_cost": "10.02",
        "data_read_per_join": "61K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description"
      ],
      "attached_condition": "((`goimagine`.`product_descriptions`.`product_id` in (322071,332071,318111,400712,453516,402032,371671,376951,384111,330751,353191,435032)) and (`goimagine`.`product_descriptions`.`lang_code` = 'en'))"
    }
  }
}

Result

product_id short_description full_description
318111 <p>Such a beautiful, vintage feel girl's and toddler's dress. We've paired a solid teal with a lovely coral, teal and yellow floral fabric and accented it with some creamy lace and wood buttons. The lace is made from organic cotton and the fabrics are 100% GOTS certified organic cotton.</p> <p></p>
322071 <p>Such a beautiful, vintage feel girl's and toddler's dress. We've paired a solid teal with a lovely coral, teal and yellow floral fabric and accented it with some creamy lace and wood buttons. The lace is made from organic cotton and the fabrics are 100% GOTS certified organic cotton.</p> <p></p>
330751 <p>Such a beautiful, vintage feel girl's and toddler's dress. We've paired a solid teal with a lovely coral, teal and yellow floral fabric and accented it with some creamy lace and wood buttons. The lace is made from organic cotton and the fabrics are 100% GOTS certified organic cotton.</p> <p></p>
332071 <p>Such a beautiful, vintage feel girl's and toddler's dress. We've paired a solid teal with a lovely coral, teal and yellow floral fabric and accented it with some creamy lace and wood buttons. The lace is made from organic cotton and the fabrics are 100% GOTS certified organic cotton.</p> <p></p>
353191 <p>Such a beautiful, vintage feel girl's and toddler's dress. We've paired a solid teal with a lovely coral, teal and yellow floral fabric and accented it with some creamy lace and wood buttons. The lace is made from organic cotton and the fabrics are 100% GOTS certified organic cotton.</p> <p></p>
371671 <p>Such a beautiful, vintage feel girl's and toddler's dress. We've paired a solid teal with a lovely coral, teal and yellow floral fabric and accented it with some creamy lace and wood buttons. The lace is made from organic cotton and the fabrics are 100% GOTS certified organic cotton.</p> <p></p>
376951 <p>Such a beautiful, vintage feel girl's and toddler's dress. We've paired a solid teal with a lovely coral, teal and yellow floral fabric and accented it with some creamy lace and wood buttons. The lace is made from organic cotton and the fabrics are 100% GOTS certified organic cotton.</p> <p></p>
384111 <p>Such a beautiful, vintage feel girl's and toddler's dress. We've paired a solid teal with a lovely coral, teal and yellow floral fabric and accented it with some creamy lace and wood buttons. The lace is made from organic cotton and the fabrics are 100% GOTS certified organic cotton.</p> <p></p>
400712 <p>Such a beautiful, vintage feel girl's and toddler's dress. We've paired a solid teal with a lovely coral, teal and yellow floral fabric and accented it with some creamy lace and wood buttons. The lace is made from organic cotton and the fabrics are 100% GOTS certified organic cotton.</p> <p></p>
402032 <p>Such a beautiful, vintage feel girl's and toddler's dress. We've paired a solid teal with a lovely coral, teal and yellow floral fabric and accented it with some creamy lace and wood buttons. The lace is made from organic cotton and the fabrics are 100% GOTS certified organic cotton.</p> <p></p>
435032 <p>Such a beautiful, vintage feel girl's and toddler's dress. We've paired a solid teal with a lovely coral, teal and yellow floral fabric and accented it with some creamy lace and wood buttons. The lace is made from organic cotton and the fabrics are 100% GOTS certified organic cotton.</p> <p></p>
453516 <p>Such a beautiful, vintage feel girl's and toddler's dress. We've paired a solid teal with a lovely coral, teal and yellow floral fabric and accented it with some creamy lace and wood buttons. The lace is made from organic cotton and the fabrics are 100% GOTS certified organic cotton.</p> <p></p>