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 (
    77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 
    88, 89, 90, 91, 92
  ) 
  AND q_product_descriptions.lang_code = 'en'

Query time 0.00053

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 (77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92)) 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
77 <p>A 75ml bottle of HUGO Man eau de toilette. HUGO Man fragrance is for men who want to live their life on their own terms. This scent will strike you with its original mingling of intensively fresh sea breezes and the masculine spiciness of its woody notes. The green, masculine base harmonises perfectly with refreshing aquatic head notes and the unmistakable scent of apples. Treat your fragrance collection to this irresistible scent.</p>
78 <p>A generously sized 125ml bottle of HUGO Iced eau de toilette. This invigorating scent from HUGO brings a wave of icy freshness and energy to the modern man. The revitalizing head notes of iced mint leaves stimulate the senses, while the scent of wild tea awakens the mind and spirit. The aromatic root of Indian vetiver creates the profound intensity of the base note, which radiates self-confidence and masculinity. The perfect fragrance to add to your daily ritual for those seeking the ultimate in freshness</p>
79 <p>A generously sized 125ml bottle of HUGO Iced eau de toilette. This invigorating scent from HUGO brings a wave of icy freshness and energy to the modern man. The revitalizing head notes of iced mint leaves stimulate the senses, while the scent of wild tea awakens the mind and spirit. The aromatic root of Indian vetiver creates the profound intensity of the base note, which radiates self-confidence and masculinity. The perfect fragrance to add to your daily ritual for those seeking the ultimate in freshness</p>
80 <p>The delicate character of this light perfume from BOSS goes perfectly with feminine daywear. Its discreet fragrance is composed of vivifying citrus notes with a hint of white freesia blossom. It creates an underlying mood of relaxation for meeting the happenings of the day full of energy and zest for life. As part of the perfume trilogy 'BOSS Woman Runway Edition', it brings the glamour of the international runway directly to your skin.</p>
81 <p>Inspired by energetic and spontaneous men, Hugo Just Different is a powerful scent of masculinity combined with mysterious and creative energy. Mint leaves open the composition and lead to a freesia and basil accord. A spicy base composed of patchouli, cashmeran, oilbanum, and labdanum creates a lasting scent perfect for the urban night.</p>
82 <p>Inspired by energetic and spontaneous men, Hugo Just Different is a powerful scent of masculinity combined with mysterious and creative energy. Mint leaves open the composition and lead to a freesia and basil accord. A spicy base composed of patchouli, cashmeran, oilbanum, and labdanum creates a lasting scent perfect for the urban night.</p>
83 <p>A prize-winning perfume by BOSS, which stands for pure femininity with its multifaceted fragrance composition. It is confident of its passionate symbiosis between the enlivening scent of cactus blossom with the subtle overtones of roses. A charismatic fragrance for the independent and self-confident women. As part of the perfume trilogy 'BOSS Woman Runway Edition', the perfume brings the glamour of the international runway directly to your skin.</p>
84 <p>A 125ml bottle of BOSS Number One eau de toilette. A fragrance for the man who never settles for less than the best, opening with fresh, invigorating nutmeg and cardamom, fused with a heart of patchouli and sandalwood. Balsamic accords complete the distinctive fragrance. Bring a deeper scent into your collection with this generous bottle.</p>
85 <p>The abstract of Hugo Boss style is captured in a bottle with Boss Bottled aroma. The fragrance is fresh and sharp with warm woody base. The fresh and fruity top notes of apple and citrus are perfectly balanced with floral and spicy heart, dominated by pelargonium, warm cinnamon, and cloves. The base notes are very masculine: sandalwood, vetiver and precious cedar.</p>
86 <p>The abstract of Hugo Boss style is captured in a bottle with Boss Bottled aroma. The fragrance is fresh and sharp with warm woody base. The fresh and fruity top notes of apple and citrus are perfectly balanced with floral and spicy heart, dominated by pelargonium, warm cinnamon, and cloves. The base notes are very masculine: sandalwood, vetiver and precious cedar.</p>
87 <p>The abstract of Hugo Boss style is captured in a bottle with Boss Bottled aroma. The fragrance is fresh and sharp with warm woody base. The fresh and fruity top notes of apple and citrus are perfectly balanced with floral and spicy heart, dominated by pelargonium, warm cinnamon, and cloves. The base notes are very masculine: sandalwood, vetiver and precious cedar.</p>
88 <p>A 75ml bottle of BOSS Orange eau de toilette. BOSS Orange is a captivating scent that opens with an uplifting burst of crispy apple and bergamot, giving a delicately feminine first impression. Meanwhile, the subtle heart notes of the scent, composed of white flower notes and orange blossom, create a carefree, light-hearted edge. The base is characterised by notes of sandalwood, olive wood and creamy vanilla which combine to create a real sense of depth, adding layers of light intensity. The resulting scent is free-spirited and soulful. Wear it with passion. Add it to your everyday fragrance selection for sophisticated effect.</p>
89 <p>Hugo Boss presents Boss Orange for Men Feel Good Summer in Summer 2013, a limited edition of the original Boss Orange for Men from 2011. This summery feel-good scent mixes aquatic accords and green fruits with a woody trail to provide the sensation of freshness and comfort.</p>
90 <p>An unconventional blend of rich floral and daring fruity notes with an unexpected boyish black tea twist. The scent creates a contrast of tones and sensations, fusing traditionally feminine and unexpected masculine notes to redefine the conventions of female fragrances and reflect HUGOs minimalist glamour.</p>
91 <p>A 100ml bottle of signature fragrance. HUGO BOSS introduces BOSS The Scent, its new captivating perfume for men. Irresistible and unforgettable, like a savoured seduction, the fragrance releases sensual notes of ginger, exotic maninka fruit and leather over time, enticing the senses. Add this bestselling fragrance to your everyday routine for refined masculinity.</p>
92 <p>A 200ml bottle of BOSS The Scent eau de toilette. HUGO BOSS introduces BOSS The Scent, its new seductive perfume for men. An irresistible fragrance, unforgettable like a savoured seduction. Exquisite notes of ginger, exotic maninka and leather unfold over time, seducing the senses. Refresh your fragrance collection with this stimulating, sophisticated scent.</p>