SELECT 
  1 
FROM 
  cscart_ec_print_temp_designs 
WHERE 
  session_id = '2LGI-B1EN-KU67-8GKK-3AKG-S392-8K8F-4WI3' 
  AND product_id = 247 
  AND expires_at > 1770297331 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00049

JSON explain

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