SELECT 
  cscart_seo_names.object_id AS product_id, 
  cscart_seo_names.name AS seo_name, 
  cscart_seo_names.path AS seo_path 
FROM 
  cscart_seo_names 
WHERE 
  cscart_seo_names.object_id IN (
    301, 302, 303, 304, 305, 306, 307, 308, 
    309, 310, 311, 312
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'en' 
  AND (
    cscart_seo_names.company_id = 1 
    OR cscart_seo_names.company_id = 0
  )

Query time 0.00103

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_seo_names",
      "access_type": "range",
      "possible_keys": ["PRIMARY", "dispatch"],
      "key": "PRIMARY",
      "key_length": "210",
      "used_key_parts": [
        "object_id",
        "type",
        "dispatch",
        "lang_code",
        "company_id"
      ],
      "rows": 24,
      "filtered": 100,
      "index_condition": "cscart_seo_names.object_id in (301,302,303,304,305,306,307,308,309,310,311,312) and cscart_seo_names.`type` = 'p' and cscart_seo_names.dispatch = '' and cscart_seo_names.lang_code = 'en' and (cscart_seo_names.company_id = 1 or cscart_seo_names.company_id = 0)"
    }
  }
}

Result

product_id seo_name seo_path
301 thach-hoa-qua-orihiro-mix-vi-dao-nho-tim-240g 7/8
302 banh-pigeon-6m-vi-ca-rot-rau-bina-dang-tui 27
303 banh-pigeon-6m-vi-rong-bien-dang-tui 27
304 hat-chia-uc-500g 6
305 tuong-tao-be-kids-mama-100ml 9
306 keo-bo-sung-canxi-va-lactic-90-vien-unimat-riken-nhat-ban 9
307 binh-sua-nuk-pp-300ml-num-ti-silicone-s2-m 23
308 thach-hoa-qua-orihiro-vi-man-120g 27
309 thach-hoa-qua-orihiro-vi-cam-120g 27
310 thach-hoa-qua-orihiro-vi-tao-120g 27
311 nuoc-giat-quan-ao-cho-be-pigeon-tui-720ml 16
312 nuoc-giat-xa-thien-nhien-danh-cho-tre-em 16