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 (
    1660621, 1663150, 1664049, 1658333, 
    1658334, 1664157, 1658506, 1657840, 
    1657777, 1658557, 1661197, 1662527, 
    1658427, 1658811, 1658265, 1663182, 
    1658593, 1660401, 1658270, 1663613, 
    1659564, 1658864, 1657833, 1662451, 
    1661407, 1659246, 1663612, 2099795, 
    1660547, 1660154, 1659920, 1659832, 
    1658398, 1658504, 1661697, 1661022
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'ro' 
  AND (
    cscart_seo_names.company_id = 1 
    OR cscart_seo_names.company_id = 0
  )

Query time 0.09611

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "85.12"
    },
    "table": {
      "table_name": "cscart_seo_names",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY",
        "dispatch"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "object_id",
        "type",
        "dispatch",
        "lang_code",
        "company_id"
      ],
      "key_length": "210",
      "rows_examined_per_scan": 72,
      "rows_produced_per_join": 72,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "77.92",
        "eval_cost": "7.20",
        "prefix_cost": "85.12",
        "data_read_per_join": "122K"
      },
      "used_columns": [
        "name",
        "object_id",
        "company_id",
        "type",
        "dispatch",
        "path",
        "lang_code"
      ],
      "attached_condition": "((`maniamall_cscart`.`cscart_seo_names`.`object_id` in (1660621,1663150,1664049,1658333,1658334,1664157,1658506,1657840,1657777,1658557,1661197,1662527,1658427,1658811,1658265,1663182,1658593,1660401,1658270,1663613,1659564,1658864,1657833,1662451,1661407,1659246,1663612,2099795,1660547,1660154,1659920,1659832,1658398,1658504,1661697,1661022)) and (`maniamall_cscart`.`cscart_seo_names`.`type` = 'p') and (`maniamall_cscart`.`cscart_seo_names`.`dispatch` = '') and (`maniamall_cscart`.`cscart_seo_names`.`lang_code` = 'ro') and ((`maniamall_cscart`.`cscart_seo_names`.`company_id` = 1) or (`maniamall_cscart`.`cscart_seo_names`.`company_id` = 0)))"
    }
  }
}

Result

product_id seo_name seo_path
1657777 nuca-rotire-volan-pallino-maniamall-cars 4528/32420
1657833 suport-doza-pahar-maxi-cooler-maniamall-cars 4528/32420
1657840 cleme-de-precizie-pentru-tester-acumulator-micro-clips-4buc-4-5cm-maniamall-cars 4528/32420
1658265 autocolant-3d-crom-sport-maniamall-cars 4528/32420
1658270 autocolant-3d-crom-bear-paw-maniamall-cars 4528/32420
1658333 bec-tip-led-12v-soclu-pl.-t10-w2-1x9-5d-2buc-alb-dispersat-maniamall-cars 4528/32420
1658334 bec-tip-led-12v-soclu-pl.-t10-w2-1x9-5d-2buc-albastru-focalizat-maniamall-cars 4528/32420
1658398 aparatori-usi-contour-5-2buc-crom-maniamall-cars 4528/32420
1658427 cheie-filtru-ulei-cu-colier-metalic-lampa-maniamall-cars 4528/32420
1658504 plasa-grila-spoiler-racing-argintiu-small-2x4mm-100x33cm-maniamall-cars 4528/32420
1658506 plasa-grila-spoiler-racing-argintiu-medium-6x12mm-100x33cm-maniamall-cars 4528/32420
1658557 plasa-grila-spoiler-racing-negru-small-2x4mm-120x20cm-maniamall-cars 4528/32420
1658593 kit-de-ajustare-pentru-bare-snap-4buc-f-0-14cm-maniamall-cars 4528/32420
1658811 filtru-aer-sport-din-burete-af-4-rosu-maniamall-cars 4528/32420
1658864 prezoane-antifurt-jante-conice-m12x1-5mm-4buc-tip-b-maniamall-cars 4528/32420
1659246 bec-12v-w1-2w-1-2w-bord-soclu-sticla-w2x4-6d-1buc-narva-maniamall-cars 4528/32420
1659564 buson-rezervor-camion-din-metal-cromat-cu-cheie-kamar-o-80mm-maniamall-cars 4528/32420
1659832 husa-scaun-fata-masaj-cu-magneti-1buc-carpoint-maniamall-cars 4528/32420
1659920 set-sigurante-plate-mici-10buc-4cars-maniamall-cars 4528/32420
1660154 lampa-de-lucru-cu-neon-230v-filson-maniamall-cars 4528/32420
1660401 filtru-motorina-oe-ford-ford-transit-maniamall-cars 4528/32420
1660547 lampa-stop-spate-stg-oe-ford-ford-transit-maniamall-cars 4528/32420
1660621 bec-xenon-12v-d2s-35w-original-line-1buc-6000k-maniamall-cars 4528/32420
1661022 filtru-ulei-mahle-mercedes-e-class-sprinter-vw-lt-maniamall-cars 4528/32420
1661197 huse-scaun-hastings-12buc-negru-albastru-maniamall-cars 4528/32420
1661407 prelata-motocicleta-basic-garage-xl-box-maniamall-cars 4528/32420
1661697 cutii-si-carcase-pt-baterii3-buc.-aa-baterie-creion-cu-intrerupator-cu-capac-maniamall-cars 4528/32420
1662451 lupa-8-dioptrii-pt.-lampa-de-lucru-led-cod-10797-maniamall-cars 4528/32420
1662527 antifon-4-buc.-maniamall-cars 4528/32420
1663150 profil-izolator-autoadeziv-pt.-ferestre-si-usi-profil-e-100-m-maro-9-mm-maniamall-cars 4528/32420
1663182 sir-de-lumini-de-craciun-alb-cald-fir-argintiu-2-m-2-x-aa-maniamall-cars 4528/32420
1663612 mercedes-benz-carcasa-tip-cheie-briceag-cu1-buton-lama-4-piste-maniamall-cars 4528/32420
1663613 mercedes-benz-carcasa-tip-cheie-briceag-cu-1-buton-lama-2-piste-maniamall-cars 4528/32420
1664049 cupla-remorca-60x60mm-750kg-pentru-ax-patrat-carpoint-maniamall-cars 4528/32420
1664157 huse-scaun-camion-dedicate-daf-xf-set-11-locuri-negru-gri-maniamall-cars 4528/32420
2099795 carlig-de-fixare-usa-semiremorca-furgon-maniamall-cars 4528/32420