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 (
    51567, 
    51565, 
    51564, 
    139, 
    129, 
    51566, 
    51301, 
    51, 
    50, 
    51497, 
    51498, 
    53, 
    22713, 
    21, 
    22714, 
    22712, 
    46, 
    22715, 
    22716, 
    51496, 
    21567, 
    91, 
    50989, 
    47, 
    105, 
    48, 
    49, 
    92, 
    137, 
    88, 
    126, 
    31, 
    51358, 
    115, 
    37, 
    11, 
    140, 
    41, 
    30, 
    90, 
    38, 
    124, 
    81, 
    56, 
    135, 
    82, 
    116, 
    117, 
    125, 
    106, 
    39, 
    193, 
    65, 
    40, 
    22710, 
    22711, 
    17, 
    57, 
    122, 
    58, 
    5, 
    22, 
    18, 
    27, 
    121, 
    119, 
    141, 
    23, 
    4, 
    142, 
    120, 
    62, 
    108, 
    107, 
    94, 
    8, 
    86, 
    54, 
    10, 
    93, 
    12, 
    32, 
    7, 
    130, 
    35, 
    16, 
    33, 
    110, 
    34, 
    89, 
    147, 
    114, 
    36, 
    128, 
    20, 
    52, 
    84, 
    109, 
    118, 
    19, 
    131, 
    146, 
    13, 
    61, 
    95, 
    15, 
    9, 
    85, 
    59, 
    111, 
    144, 
    60, 
    123, 
    145, 
    113, 
    6, 
    14, 
    63, 
    136, 
    50984, 
    127, 
    134, 
    42, 
    50985, 
    50986, 
    50988, 
    50993, 
    50992
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'ru' 
  AND (
    cscart_seo_names.company_id = 1 
    OR cscart_seo_names.company_id = 0
  )

Query time 0.00708

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "166.64"
    },
    "table": {
      "table_name": "cscart_seo_names",
      "access_type": "ref",
      "possible_keys": [
        "PRIMARY",
        "dispatch"
      ],
      "key": "dispatch",
      "used_key_parts": [
        "dispatch"
      ],
      "key_length": "194",
      "ref": [
        "const"
      ],
      "rows_examined_per_scan": 1489,
      "rows_produced_per_join": 1,
      "filtered": "0.10",
      "cost_info": {
        "read_cost": "17.74",
        "eval_cost": "0.14",
        "prefix_cost": "166.64",
        "data_read_per_join": "2K"
      },
      "used_columns": [
        "name",
        "object_id",
        "company_id",
        "type",
        "dispatch",
        "path",
        "lang_code"
      ],
      "attached_condition": "((`test_uchur_k`.`cscart_seo_names`.`object_id` in (51567,51565,51564,139,129,51566,51301,51,50,51497,51498,53,22713,21,22714,22712,46,22715,22716,51496,21567,91,50989,47,105,48,49,92,137,88,126,31,51358,115,37,11,140,41,30,90,38,124,81,56,135,82,116,117,125,106,39,193,65,40,22710,22711,17,57,122,58,5,22,18,27,121,119,141,23,4,142,120,62,108,107,94,8,86,54,10,93,12,32,7,130,35,16,33,110,34,89,147,114,36,128,20,52,84,109,118,19,131,146,13,61,95,15,9,85,59,111,144,60,123,145,113,6,14,63,136,50984,127,134,42,50985,50986,50988,50993,50992)) and (`test_uchur_k`.`cscart_seo_names`.`type` = 'p') and (`test_uchur_k`.`cscart_seo_names`.`lang_code` = 'ru') and ((`test_uchur_k`.`cscart_seo_names`.`company_id` = 1) or (`test_uchur_k`.`cscart_seo_names`.`company_id` = 0)))"
    }
  }
}

Result

product_id seo_name seo_path
4 kepka-uchur-round-patch-cv-chernyy-s-setkoy 40
5 kepka-uchur-round-patch-cv-chernyy-bez-setki 40
6 kepka-uchur-round-patch-cv-bezhevyy-s-setkoy 40
7 futbolka-uchur-covert-gray-t-shirt 40
9 kepka-uchur-active-cv-navy 40
10 kepka-uchur-active-cv-beige 40
11 shapka-uchur-beanie-cv-black 40
12 futbolka-uchur-mountain-sheep-olive-t-shirt 40
13 kepka-uchur-logo-cv-olive 40
14 kepka-uchur-logo-cv-black-camouflage 40
15 kepka-uchur-mid-cap-cv-taas 40
16 kepka-uchur-mid-cap-cv-saas 40
17 kepka-uchur-low-cap-cv-saas 40
18 kepka-uchur-low-cap-cv-taas 40
19 shtany-uchur-all-weather-pants-lite-cv-saas 40
20 shtany-uchur-all-weather-pants-lite-cv-taas 40
21 kurtka-uchur-all-weather-jacket-pro-cv-taas 40
22 kepka-uchur-logo-mesh-cap-cv-black 40
23 kepka-uchur-logo-mesh-cap-cv-olive 40
27 kepka-uchur-logo-cap-cv-black 40
30 termobele-uchur-mens-thermal-underwear-cv-saas 40
31 termobele-uchur-mens-thermal-underwear-cv-taas 40
32 futbolka-uchur-mens-t-shirt-cv-black 40
33 futbolka-uchur-mens-t-shirt-cv-grey 40
34 futbolka-uchur-mens-t-shirt-cv-olive 40
35 futbolka-uchur-mens-t-shirt-cv-saas 40
36 futbolka-uchur-mens-t-shirt-cv-taas 40
37 kurtka-uchur-softshell-jacket-cv-black 40
38 kurtka-uchur-softshell-jacket-cv-grey 40
39 kurtka-uchur-softshell-jacket-cv-olive 40
40 kurtka-uchur-softshell-jacket-cv-saas 40
41 kurtka-uchur-softshell-jacket-cv-taas 40
42 termobele-bulchut-komplekt-trikotazhnyy-cv-chernyy-tk-fleece-270g-m2-m 5/18
46 termobele-uchur-arctic-thermo-pro-cv-chernyy 40
47 kostyum-bulchut-tk-finlyandiya-cv-haki-m 5/22/23
48 kurtka-uchur-warm-lite-down-cv-saas 40
49 kurtka-uchur-warm-lite-down-cv-taas 40
50 kostyum-uchur-bulchut-3v1-cv-saas 40
51 kostyum-uchur-bulchut-3v1-cv-taas 40
52 shtany-uchur-forester-cv-black-gray 40
53 kurtka-uchur-all-weather-jacket-pro-cv-saas 40
54 tolstovka-uchur-hoodie-wind-cv-saas 40
56 shapka-uchur-traveler-cv-black 40
57 kepka-uchur-street-cv-saas 40
58 kepka-uchur-street-cv-taas 40
59 kepka-uchur-embossed-logo-cv-black 40
60 kepka-uchur-embossed-logo-cv-grey 40
61 kepka-uchur-raptor-camo-mesh-cv-black 40
62 kepka-uchur-everyday-mesh-cv-black 40
63 shapka-bulchut-dvuhstoronnyaya-tk-polar-fleece-cv-haki-oranzhevyy 5/50/8
65 zhilet-steganyy-bulchut-tk-nylon-taslan-dobby-cv-chernyy 5/25
81 shapka-uchur-hunter-cv-taas 40
82 shapka-uchur-hunter-cv-saas 40
84 noski-uchur-active-city-cv-chernyy 40
85 noski-uchur-active-cv-chernyy-seryy 40
86 perchatki-uchur-hunter-lt-cv-taas 40
88 dzhemper-uchur-eclipse-fleece-cv-chernyy 40
89 zhilet-uchur-weave-core-cv-seryy 40
90 shtany-uchur-all-weather-pants-pro-cv-taas 40
91 shtany-uchur-all-weather-pants-pro-cv-saas 40
92 kurtka-uchur-warm-lite-down-cv-chernyy 40
93 shtany-uchur-all-weather-pants-lite-cv-chernyy 40
95 snud-uchur-cv-taas 40
105 kepka-uchur-visor-cv-saas 40
106 kepka-uchur-visor-cv-taas 40
107 panama-letnyaya-uchur-adventure-hat-cv-seryy 40
108 panama-letnyaya-uchur-adventure-hat-cv-chernyy 40
109 futbolka-uchur-raven-beige-t-shirt 40
110 futbolka-uchur-eagle-gray-t-shirt 40
111 futbolka-zhenskaya-uchur-tuymaada-black-t-shirt 40
113 kepka-uchur-shadow-cv-black-camouflage 40
114 kepka-uchur-rove-logo-cv-olive 40
115 shapka-uchur-icon-wool-cv-bezhevyy 40
116 shapka-uchur-icon-wool-cv-seryy 40
117 shapka-uchur-icon-wool-cv-chernyy 40
118 kepka-uchur-rubber-patch-cv-bezhevyy-s-setkoy 40
119 kepka-uchur-rubber-patch-cv-chernyy-bez-setki 40
120 kepka-uchur-rubber-patch-cv-chernyy-s-setkoy 40
121 kepka-uchur-round-patch-logo-grey-cv-chernyy-s-setkoy 40
122 kepka-uchur-round-patch-logo-grey-cv-chernyy-bez-setki 40
123 kepka-uchur-ranger-mesh-cap-cv-oliva 40
124 futbolka-zhenskaya-uchur-tuymaada-cotton-black-t-shirt 40
125 futbolka-zhenskaya-uchur-tuymaada-cotton-gray-t-shirt 40
126 shapka-uchur-ski-cv-chernyy 40
127 k-m-antignus-bulchut-tk-smesovaya-tvil-pich-cv-haki 5/22/34
128 kurtka-letnyaya-uchur-all-weather-lite-cv-taas 40
129 tolstovka-s-kapyushonom-uchur-horizon-cv-chernyy 40
130 kurtka-letnyaya-uchur-tukulan-cv-bezhevyy 40
131 bryuki-letnie-uchur-tukulan-cv-bezhevyy 40
134 anorak-kamleyka-bulchut-tk-palatka-cv-haki-r-universalnyy 45
135 shapka-ushanka-s-maskoy-bulchut-tk-finlyandiya-cv-haki-meh-volk-m 5/50/36
136 rukavicy-bulchut-tk-finlyandiya-cv-haki-m 5/52/37
137 futbolka-uchur-terra-cv-chernyy 40
51301 tolstovka-s-kapyushonom-uchur-ridge-cv-chernyy 40
139 tolstovka-s-kapyushonom-uchur-terra-cv-chernyy 40
140 zhilet-uchur-weave-core-cv-chernyy 40
141 kepka-uchur-hex-s-patchem-cv-chernyy 40
142 kepka-uchur-alpha-cv-chernyy 40
144 futbolka-uchur-wolf-black-t-shirt 40
145 futbolka-uchur-eagle-black-t-shirt 40
146 futbolka-uchur-trophy-fishing-blue-t-shirt 40
147 futbolka-uchur-covert-green-t-shirt 40
193 shtany-uchur-all-weather-pants-pro-cv-taas-40x30-ru 40
51358 termobele-zhenskoe-uchur-haarchaana-cv-chernyy-razmer-l 40
94 longsliv-uchur-active-cv-taas-ru-2 40
8 futbolka-uchur-bear-black-t-shirt-3xl 40
21567 perchatki-uchur-warmshell-cv-chernyy 5/52/29
22710 trusy-uchur-flex-cv-chernyy-ru 5/18
22711 termoshtany-uchur-active-lite-cv-chernyy 5/18
22712 futbolka-sportivnaya-uchur-totem-animal-wolf-cv-chernyy 5/7
22713 futbolka-sportivnaya-uchur-totem-animal-black-storm-cv-chernyy 5/7
22714 futbolka-sportivnaya-uchur-totem-animal-eagle-cv-chernyy 5/7
22715 futbolka-sportivnaya-uchur-totem-animal-bear-cv-chernyy 5/7
22716 futbolka-sportivnaya-uchur-totem-animal-raven-cv-chernyy 5/7
51496 panama-uchur-safari-cv-bezhevyy 5/50/33
51497 panama-uchur-safari-cv-chernyy 5/50/33
51498 panama-uchur-safari-cv-seryy 5/50/33
51564 shtany-uteplennye-uchur-expedition-cv-chernyy 5/9
51565 kurtka-uteplennaya-uchur-expedition-cv-chernyy 40
51566 bryuki-muzhskie-uteplennye-uchur-arctic-cv-chernyy 5/9
51567 puhovaya-kurtka-uchur-cloud-cv-chernyy 5/10
50984 kurtka-flisovaya-bulchut-tk-polar-fleece-nylon-taslan-dobby-cv-haki 5/10
50985 kurtka-muzhskaya-rx24-365d-cv-siniy 5/10
50986 kurtka-muzhskaya-rx24-338d-cv-chernyy 5/10
50988 kurtka-muzhskaya-rx24-359d-cv-seryy 5/10
50989 perchatki-uchur-wintersoft-cv-chernyy 5/52/29
50992 zhilet-muzhskoy-ul-down-vest-rx24-354d-cv-seryy 5/25
50993 zhilet-muzhskoy-rx24-366d-cv-siniy 5/25