SELECT 
  * 
FROM 
  cscart_vd_vendor_images 
WHERE 
  brand_id = 162 
  AND image_type = 'P'

Query time 0.00056

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_vd_vendor_images",
          "access_type": "ref",
          "possible_keys": ["brand_id"],
          "key": "brand_id",
          "key_length": "4",
          "used_key_parts": ["brand_id"],
          "ref": ["const"],
          "rows": 5,
          "filtered": 100,
          "attached_condition": "cscart_vd_vendor_images.image_type = 'P'"
        }
      }
    ]
  }
}

Result

id brand_id image_type image_path image_name image_size image_type_mime
870 162 P images/vendor_directory/162/Qwait perfil.jpg Qwait perfil.jpg 357986 image/jpeg