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 (
    631, 1111, 632, 1112, 1062, 1101, 906, 
    1099, 831, 830, 1065, 1056, 1059, 543, 
    510, 1017, 779, 778, 1113, 1114, 1115, 
    1096, 1061, 1100
  ) 
  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.00129

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": 48,
      "filtered": 100,
      "index_condition": "cscart_seo_names.object_id in (631,1111,632,1112,1062,1101,906,1099,831,830,1065,1056,1059,543,510,1017,779,778,1113,1114,1115,1096,1061,1100) 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
510 khay-tru-dong-50ml-richell 38
543 khay-tru-dong-15ml-richell 38
631 bo-hai-binh-sua-silicone-comotomo-150ml-mau-hong 38
632 bo-hai-binh-sua-silicone-comotomo-250ml-mau-hong 38
778 num-ti-pigeon-size-m 38
779 num-ti-pigeon-size-ll 38
830 coc-tap-uong-richell-tay-mau-xanh 38
831 coc-tap-uong-richell-tay-mau-hong 38
906 product-906 38
1017 num-ti-pigeon-size-l 38
1056 coc-tap-uong-tre-em-mugtre-richell-mau-xanh 38
1059 khay-an-ba-ngan-richell 38
1061 thia-mem-richell 38
1062 bo-hai-thia-richell 38
1065 coc-tap-uong-tre-em-mugtre-richell-mau-cam 38
1096 thia-an-bang-nhua-munchkin 38
1099 product-1099 38
1100 tui-tap-an-dam-silicone-munchkin 38
1101 bo-thia-silicone-munchkin 38
1111 bo-hai-binh-sua-silicone-comotomo-150ml-mau-xanh 38
1112 bo-hai-binh-sua-silicone-comotomo-250ml-mau-xanh 38
1113 num-ti-silicone-comotomo-2-tia-cho-be-3m 38
1114 num-ti-silicone-comotomo-3tia-cho-be-6m 38
1115 num-ti-silicone-comotomo-cat-chu-y-cho-be-6m 38