SELECT 
  q_seo_names.object_id AS product_id, 
  q_seo_names.name AS seo_name, 
  q_seo_names.path AS seo_path 
FROM 
  q_seo_names 
WHERE 
  q_seo_names.object_id IN (
    29790, 29793, 29794, 29796, 29800, 29801, 
    29806, 29813, 29818, 29825, 29829, 
    29832, 29833, 29834, 29835, 29836, 
    29838, 29843, 29849, 29850, 29852, 
    29854, 29860, 29862, 29864, 29876, 
    29878, 29904, 29905, 30349
  ) 
  AND q_seo_names.type = "p" 
  AND q_seo_names.dispatch = "" 
  AND q_seo_names.lang_code = 'en'

Query time 0.00117

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "79.01"
    },
    "table": {
      "table_name": "q_seo_names",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY",
        "dispatch"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "object_id",
        "type",
        "dispatch",
        "lang_code"
      ],
      "key_length": "206",
      "rows_examined_per_scan": 35,
      "rows_produced_per_join": 35,
      "filtered": "100.00",
      "index_condition": "((`portal`.`q_seo_names`.`object_id` in (29790,29793,29794,29796,29800,29801,29806,29813,29818,29825,29829,29832,29833,29834,29835,29836,29838,29843,29849,29850,29852,29854,29860,29862,29864,29876,29878,29904,29905,30349)) and (`portal`.`q_seo_names`.`type` = 'p') and (`portal`.`q_seo_names`.`dispatch` = '') and (`portal`.`q_seo_names`.`lang_code` = 'en'))",
      "cost_info": {
        "read_cost": "72.01",
        "eval_cost": "7.00",
        "prefix_cost": "79.01",
        "data_read_per_join": "59K"
      },
      "used_columns": [
        "name",
        "object_id",
        "type",
        "dispatch",
        "path",
        "lang_code"
      ]
    }
  }
}

Result

product_id seo_name seo_path
29790 3-in-1-charging-holder-for-iphone-x-iphone-8-plus-iphone-7-for-headsets-silicone-charging-stand-dock-station-for-smart-watch 190/195
29793 for-samsung-galaxy-tab-a-10.1-t580n-t585n-tablet-funda-cases-color-painted-pu-leather-case-flip-cover-shell 190/191
29794 qi-wireless-charging-headset-case-for-iphone-airpods-case-earphone-polycarbonate-back-cover-for-airpods-portable-charger 190/193
29796 universal-tablet-stand-holder-for-ipad-2-3-4-air-mini-for-samsung-lenovo-lazy-bed-desk-mount-for-6-11-inch-tablet-pc-en 190/195
29800 usb-charging-data-cradle-dock-for-fitbit-versa-watch-smart-accessories 190/204
29801 dux-ducis-pu-leather-case-for-ipad-pro-10.5-magnet-stand-smart-cover-for-ipad-pro-10.5-inch-2018-with-pencil-holder 190/191/419
29806 orico-duk-10p-120w-universal-usb-10-ports-power-charging-station 190/193
29813 case-with-pencil-holder-for-samsung-galaxy-tab-s4-2018-10.5-t830-sm-t835-10.5-inch-tablet-stand-smart-cover-auto-sleep-wake 190/191/419
29818 delux-t9-47-key-professional-one-single-hand-usb-wired-esport-gaming-keyboard 190/420
29825 case-for-ipad-pro-11-2018-pu-leather-transparent-pc-back-slim-light-weight-trifold-smart-cover-case-2018 190/191/419
29829 dux-ducis-simple-ipad-pro-11-inch-case-with-pen-holder-smart-anti-fall-protective-sleeve-standing-flip-cover-black 190/191/419
29832 baseus-for-ipad-pro-pencil-holder-cap-soft-silicone-protective-case-anti-lost-holder-dock-stand-for-apple-stylus-touch-pen-nib 190/556
29833 metal-2.5inch-usb-3.0-hdd-case-hard-drive-disk-usb3.0-to-sata-external-storage-hdd-enclosure-aluminium-box 190/191/419
29834 3d-curved-tempered-film-for-apple-watch-44mm-series-4-screen-protector 190/204
29835 2.4g-usb-numeric-keypad-wireless-number-pad-18-keys-mini-digital-keyboard-for-imac-macbook-macbook-air-pro-laptop-pc-notebook-desktop 190/420
29836 baseus-wireless-charging-case-for-airpods-5v-1a-wireless-charger-cover-silicone-protective-cases-for-apple-airpods-charging-box 190/193
29838 technology-k108-wired-3-colors-led-backlit-38-keys-gamer-keypad-usb-ergonomic-illuminated-single-hand-gaming-keyboard-computer 190/420
29843 dux-ducis-smart-pencil-box-holder-ipad-9.7-anti-hit-leather-cover-2018-ipad-9.7-inch-automatic-sleep-wake-up 190/191/419
29849 blue-magnetic-stand-pu-leather-case-cover-for-samsung-galaxy-tab-s2-8.0-t715-8inch-tablet-cover-case 190/191/419
29850 magnetic-stand-pu-leather-case-cover-for-samsung-galaxy-tab-s2-8.0-t715-8inch-tablet-cover-case 190/191/419
29852 the-tower-slim-trifold-pu-leather-case-for-lenovo-tab-e7-tb-7104f-7-tablet-shockproof-flip-cover-case-for-lenovo-tab-e7-2018-7-tb-7104f 190/191/419
29854 silicone-soft-case-for-apple-watch-series-4-44mm-tpu-protector-cases-for-iwatch-all-around-cover-thin-clear-frame 190/204
29860 16mm-quick-release-pin-watch-band-for-huawei-talkband-b3-stainless-steel-loop-milanese-strap-magnetic-button 190/204
29862 wood-hd-mobile-phone-screen-3d-video-amplifier-folding-stand-magnifier 190/195
29864 for-dji-tello-drone-usb-battery-charger-hub-rc-intelligent-charging-for-dji-tello 190/193
29876 pubg-mobile-game-shoot-fire-button-trigger-aim-key-l1-r1-controller-gamepad-joystick-android-ios-smartphone-gaming-assist-tool 190/197
29878 4pcs-in-ear-eartips-earbuds-earphone-case-cover-skin-for-apple-airpods-iphone-7 190/386
29904 silicone-soft-case-for-apple-watch-series-4-44mm-all-around-cover-thin-clear-frame 190/204
29905 black-stainless-steel-three-bead-chain-smart-watch-strap-band-for-fitbit-versa-smart-watch-replacement-wrist-band 190/204
30349 baseus-small-ears-series-magnetic-suction-bracket-phone-holder-vertical-type 190/428