SELECT 
  1 
FROM 
  cscart_ec_print_temp_designs 
WHERE 
  session_id = 'N7EI-7N3C-E5DZ-AL9B-JFCQ-BUQ9-SBZR-DP8B' 
  AND product_id = 54 
  AND expires_at > 1770191359 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00052

JSON explain

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