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 (
    8764, 8765, 8766, 8767, 8768, 8769, 8770, 
    8771, 8772, 8773, 8774, 8776, 8788, 
    8825, 8826, 8827, 8828, 8829, 8830, 
    8831, 8832, 8833, 8834, 8835, 8841, 
    8843, 8844, 8845, 8846, 8847
  ) 
  AND q_seo_names.type = "p" 
  AND q_seo_names.dispatch = "" 
  AND q_seo_names.lang_code = 'en'

Query time 0.00133

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "72.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": 30,
      "rows_produced_per_join": 30,
      "filtered": "100.00",
      "index_condition": "((`portal`.`q_seo_names`.`object_id` in (8764,8765,8766,8767,8768,8769,8770,8771,8772,8773,8774,8776,8788,8825,8826,8827,8828,8829,8830,8831,8832,8833,8834,8835,8841,8843,8844,8845,8846,8847)) 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": "66.01",
        "eval_cost": "6.00",
        "prefix_cost": "72.01",
        "data_read_per_join": "50K"
      },
      "used_columns": [
        "name",
        "object_id",
        "type",
        "dispatch",
        "path",
        "lang_code"
      ]
    }
  }
}

Result

product_id seo_name seo_path
8764 catalyst-iphone-xr-impact-protection-case-clear 190/191/418
8765 catalyst-water-proof-case-for-iphone-x 190/429
8766 casetify-glitter-case-silver-clouds-for-iphone-xr 190/191/418
8767 casetify-snap-case-floral-for-iphone-xr 190/191/418
8768 casetify-impact-case-take-a-bow-for-iphone-8-7 190/429
8769 casetify-impact-case-take-a-bow-for-iphone-8-7-plus 190/191/418
8770 casetify-glitter-case-take-a-bow-for-iphone-xs-x 190/429
8771 casetify-glitter-case-take-a-bow-for-iphone-xr 190/191/418
8772 casetify-glitter-case-take-a-bow-for-iphone-xs-max 190/429
8773 casetify-impact-case-pink-roses-for-iphone-xr 190/429
8774 casetify-snap-case-dont-care-for-iphone-xs-max 190/191/418
8776 element-case-glass-for-iphone-xs-max 190/191/418
8788 native-union-clic-wood-case-black-for-iphone-xs-x 190/191/418
8825 catalyst-impact-protection-case-for-iphone-xs-max 190/191/418
8826 catalyst-impact-protection-case-for-iphone-xr 190/191/418
8827 catalyst-iphone-xs-x-impact-protection-case-clear 190/191/418
8828 catalyst-impact-protection-case-for-iphone-xs-x 190/191/418
8829 catalyst-iphone-xs-max-impact-protection-case-blueridge 190/191/418
8830 catalyst-iphone-xr-impact-protection-case-blueridge-suns 190/191/418
8831 catalyst-waterproof-shockproof-case-for-iphone-8-7-stealth-black 190/191/418
8832 catalyst-waterproof-shockproof-case-for-iphone-8-7-plus-stealth-black 190/191/418
8833 catalyst-waterproof-shockproof-case-for-iphone-8-7-plus-alpine-white 190/191/418
8834 catalyst-waterproof-shockproof-case-for-iphone-8-7-alpine-white 190/191/418
8835 catalyst-waterproof-case-for-iphone-x-stealth-black 190/191/418
8841 native-union-clic-air-case-smoke-for-iphone-8-7 190/191/418
8843 case-mate-karat-case-for-iphone-8-7-mother-of-pearl 190/191/418
8844 case-mate-waterfall-case-for-iphone-8-plus-7-plus-junk-food 190/191/418
8845 case-mate-karat-petals-case-for-iphone-8-7-6s-6-plus-purple 190/191/418
8846 case-mate-karat-for-iphone-xs-x-turquoise 190/191/418
8847 case-mate-squish-for-iphone-xs-x-iridescent 190/191/418