SELECT 
  cscart_product_descriptions.product_id, 
  cscart_product_descriptions.short_description, 
  IF(
    cscart_product_descriptions.short_description = '' 
    OR cscart_product_descriptions.short_description IS NULL, 
    cscart_product_descriptions.full_description, 
    ''
  ) AS full_description 
FROM 
  cscart_product_descriptions 
WHERE 
  cscart_product_descriptions.product_id IN (427781) 
  AND cscart_product_descriptions.lang_code = 'en'

Query time 0.00059

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "1.00"
    },
    "table": {
      "table_name": "cscart_product_descriptions",
      "access_type": "const",
      "possible_keys": [
        "PRIMARY",
        "product_id"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "product_id",
        "lang_code"
      ],
      "key_length": "9",
      "ref": [
        "const",
        "const"
      ],
      "rows_examined_per_scan": 1,
      "rows_produced_per_join": 1,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "0.00",
        "eval_cost": "0.20",
        "prefix_cost": "0.00",
        "data_read_per_join": "6K"
      },
      "used_columns": [
        "product_id",
        "lang_code",
        "short_description",
        "full_description"
      ]
    }
  }
}

Result

product_id short_description full_description
427781 <p><font style="vertical-align:inherit;"><font style="vertical-align:inherit;"></font></font></p><p><font style="vertical-align:inherit;"><font style="vertical-align:inherit;">Toti copiii iubesc micii si veselii Minioni . </font><font style="vertical-align:inherit;">Cu toate astea doar cativa copii iubesc spalatul pe dinti. </font><font style="vertical-align:inherit;">Acum vine intr-o combinatie unica de suporturi pentru periute de dintii si dozator de pasta, ce vor incanta copiii si ii va face sa indrageasca igiena orala.</font></font></p> <p><font style="vertical-align:inherit;"><font style="vertical-align:inherit;">- Material: plastic </font></font><br /><font style="vertical-align:inherit;"><font style="vertical-align:inherit;">- Dimensiuni: 19 x 8 x 6 cm </font></font><br /><font style="vertical-align:inherit;"><font style="vertical-align:inherit;">- Culoare: galben</font></font><br /> </p> <p><font style="vertical-align:inherit;"><font style="vertical-align:inherit;">Caracteristici:</font></font></p> <p><font style="vertical-align:inherit;"><font style="vertical-align:inherit;">-Compatibil cu toate tuburile clasice de pasta de dinti. </font></font><br /><font style="vertical-align:inherit;"><font style="vertical-align:inherit;">-Pastreaza baia curata si ordonata. </font></font><br /><font style="vertical-align:inherit;"><font style="vertical-align:inherit;">-Dozatorul este utilizator de instalat. </font></font><br /><font style="vertical-align:inherit;"><font style="vertical-align:inherit;">-Usor de folosit, mai ales de copii si de persoane in varsta. </font></font><br /><font style="vertical-align:inherit;"><font style="vertical-align:inherit;">-Economie de bani, extrage si ultima picatura de pasta din tub. </font></font><br /><font style="vertical-align:inherit;"><font style="vertical-align:inherit;">-Nu necesita baterii. </font></font><br /><font style="vertical-align:inherit;"><font style="vertical-align:inherit;">-Gata cu uitatul insuruberii capacului la pasta de dinti. </font></font><br /><font style="vertical-align:inherit;"><font style="vertical-align:inherit;">-Gata cu dezordinea din baie lasata de copii dupa spalare pe dinti. </font></font><br /><font style="vertical-align:inherit;"><font style="vertical-align:inherit;">-Gata cu chiuvetele manjite de pasta de dinti. </font></font><br /><font style="vertical-align:inherit;"><font style="vertical-align:inherit;">-Gata cu chinul stoarcerii tubului pentru ultimele picaturi de pasta de dinti. </font></font><br /><font style="vertical-align:inherit;"><font style="vertical-align:inherit;">-Tot ce trebuie sa faceti este sa introduceti periuta de dintii in locul special amenajat si sa impingeti usor, iar dozatorul va elibera o cantitate prestabilitate de pasta de dinti.</font></font></p><p><font style="vertical-align:inherit;"><font style="vertical-align:inherit;"></font></font></p>