SELECT 
  lang.name, 
  lang.value 
FROM 
  cscart_language_values lang 
WHERE 
  lang.lang_code = 'da' 
  AND lang.name IN (
    'text_gift_cert_amount_alert', 'recipients_name', 
    'purchasers_name', 'amount', 'gift_comment', 
    'text_no_products_defined', 'gift_add_products', 
    'how_to_send', 'send_via_email', 
    'send_via_postal_mail', 'gift_certificates.recipient_email', 
    'template', 'address', 'city', 'country', 
    'select_country', 'state', 'select_state', 
    'zip_postal_code', 'preview', 'purchase_gift_certificate', 
    'gift_certificate', 'text_gift_cert_amount_alert', 
    'recipients_name', 'purchasers_name', 
    'amount', 'gift_comment', 'text_no_products_defined', 
    'gift_add_products', 'how_to_send', 
    'send_via_email', 'send_via_postal_mail', 
    'gift_certificates.recipient_email', 
    'template', 'address', 'city', 'country', 
    'select_country', 'state', 'select_state', 
    'zip_postal_code', 'preview', 'purchase_gift_certificate', 
    'gift_certificate'
  )

Query time 0.00150

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "52.81"
    },
    "table": {
      "table_name": "lang",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "lang_code",
        "name"
      ],
      "key_length": "392",
      "rows_examined_per_scan": 22,
      "rows_produced_per_join": 22,
      "filtered": "100.00",
      "index_condition": "((`atulecarter_atul_demo1`.`lang`.`lang_code` = 'da') and (`atulecarter_atul_demo1`.`lang`.`name` in ('text_gift_cert_amount_alert','recipients_name','purchasers_name','amount','gift_comment','text_no_products_defined','gift_add_products','how_to_send','send_via_email','send_via_postal_mail','gift_certificates.recipient_email','template','address','city','country','select_country','state','select_state','zip_postal_code','preview','purchase_gift_certificate','gift_certificate','text_gift_cert_amount_alert','recipients_name','purchasers_name','amount','gift_comment','text_no_products_defined','gift_add_products','how_to_send','send_via_email','send_via_postal_mail','gift_certificates.recipient_email','template','address','city','country','select_country','state','select_state','zip_postal_code','preview','purchase_gift_certificate','gift_certificate')))",
      "cost_info": {
        "read_cost": "48.41",
        "eval_cost": "4.40",
        "prefix_cost": "52.81",
        "data_read_per_join": "8K"
      },
      "used_columns": [
        "lang_code",
        "name",
        "value"
      ]
    }
  }
}

Result

name value
address Adresse
amount beløb
city By
country Land
gift_add_products Føj produkter til en gave
gift_certificate Gavekort
gift_certificates.recipient_email Modtagers E-mail
gift_comment Besked
how_to_send Hvordan sendes?
preview preview
purchasers_name Fra
purchase_gift_certificate Indkøb Gavekort
recipients_name Til
select_country Vælg land
select_state vælg stat
send_via_email Send via e-mail
send_via_postal_mail Send som brev
state Område
template Skabelon
text_gift_cert_amount_alert Beløbet skal være mellem [min] og [max]
text_no_products_defined Ingen definerede produkter
zip_postal_code Postnummer