SELECT 
  1 
FROM 
  cscart_ec_print_temp_designs 
WHERE 
  session_id = '6N7G-KBA3-G5MY-MPTN-E4LR-Q5CX-2SY8-YVXH' 
  AND product_id = 40 
  AND expires_at > 1770174520 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00037

JSON explain

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