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 (
    29778, 29779, 29780, 29781, 29782, 29783, 
    29784, 29785, 29786, 29787, 29788, 
    29789, 29790, 29791, 29792, 29793
  ) 
  AND q_seo_names.type = "p" 
  AND q_seo_names.dispatch = "" 
  AND q_seo_names.lang_code = 'en'

Query time 0.00083

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "41.21"
    },
    "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": 18,
      "rows_produced_per_join": 18,
      "filtered": "100.00",
      "index_condition": "((`portal`.`q_seo_names`.`object_id` in (29778,29779,29780,29781,29782,29783,29784,29785,29786,29787,29788,29789,29790,29791,29792,29793)) 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": "37.61",
        "eval_cost": "3.60",
        "prefix_cost": "41.21",
        "data_read_per_join": "30K"
      },
      "used_columns": [
        "name",
        "object_id",
        "type",
        "dispatch",
        "path",
        "lang_code"
      ]
    }
  }
}

Result

product_id seo_name seo_path
29778 razer-cynosa-pro-and-razer-deathaddre-2000dpi-backlit-membrane-gaming-keyboard-and-mouse-set 299/383/560
29779 motospeed-k70l-104-gaming-esport-keyboard-usb-wired-led-colorful-backlit-backlight-illuminated-pc-laptop-notebook-desktop 299/383/560
29780 baseus-for-ipad-pro-pencil-holder-cap-soft-silicone-protective-case-anti-lost-holder-dock-stand-for-apple-touch-pen-nib 190/429
29781 dux-ducis-simple-ipad-pro-11-inch-case-with-pen-holder-smart-anti-fall-protective-sleeve-standing-flip-cover-blue 190/191/419
29782 wireless-keyboard-and-mouse-combo-set-2.4g-wireless-keyboard-moues-combo-for-apple-mac-windows-xp-7-10-ios-gold 299/383/560
29783 4-in-1-aquarium-tank-complete-clean-set-fish-net-scraper-sponge-cleaning-tool-kit-algae-fish-tank-aquarium-cleaner 6/367/370
29784 1.2x-1.8x-2.5x-3.5x-helmet-magnifier-magnifying-glass-lens-loupe-with-led-light-for-dental-surgical-and-jewel-repair 6/184/465/466
29785 slim-read-write-3.5-inch-1.44mb-mb-floppy-disk-usb-external-floppy-disk-drive-diskette-fdd-for-laptops 299/383
29786 y-shape-3-ways-pet-foldable-toys-cat-tunnel-tent-nest-toys-home-folding-training-tunnel-cats-toys-black-and-blue 6/367/369
29787 orange-tire-pattern-case-for-samsung-galaxy-tab-s2-8.0-t710-t715-2-in1-hybrid-pc-tpu-stand-cover-case 190/191/419
29788 black-aluminum-alloy-bicycle-bell-road-mountain-bike-compass-bell-sound-bike-handlebar-ring-horn 300/572
29789 hmov-metal-spacebar-monitor-stand-laptop-stand-ultrabook-stand-with-4-port-charging-usb-hub 299/383
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
29791 12-15.6-inch-laptop-cooling-pad-cooler-usb-fan-with-5-cooling-fans-light-notebook-stand-and-quiet-fixture-for-laptop 299/383
29792 ipad-9.7-case-2018-ipad-6th-generation-case-2017-ipad-5th-generation-case-ultra-slim-lightweight-stand-case-with-translucent-frosted-back-smart-cover-for-apple-ipad-9.7-inch-black 301
29793 for-samsung-galaxy-tab-a-10.1-t580n-t585n-tablet-funda-cases-color-painted-pu-leather-case-flip-cover-shell 190/191