SELECT 
  var, 
  value 
FROM 
  cscart_ab__video_gallery_settings 
WHERE 
  product_id = 128

Query time 0.00009

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.00183779,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_ab__video_gallery_settings",
          "access_type": "ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["product_id"],
          "ref": ["const"],
          "loops": 1,
          "rows": 1,
          "cost": 0.00183779,
          "filtered": 100
        }
      }
    ]
  }
}