SELECT 
  1 
FROM 
  cscart_ec_print_temp_designs 
WHERE 
  session_id = 'HLUN-9146-7BI7-OW9P-3IKS-HJYV-4CJL-12SG' 
  AND product_id = 40 
  AND expires_at > 1770373470 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00030

JSON explain

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