SELECT 
  products_pattern_id 
FROM 
  cscart_ab__emd_categories_patterns 
WHERE 
  category_id = 4935

Query time 0.00067

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}