SELECT 
  1 
FROM 
  cscart_ec_print_temp_designs 
WHERE 
  session_id = '1HIP-9Y7J-PCEJ-GUK4-4G3T-F4EF-FCKS-M4D0' 
  AND product_id = 240 
  AND expires_at > 1770346374 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00026

JSON explain

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