SELECT 
  1 
FROM 
  cscart_ec_print_temp_designs 
WHERE 
  session_id = 'RPWU-B8EG-DE9Z-Q78A-3440-OY4K-54EG-JBNQ' 
  AND product_id = 29 
  AND expires_at > 1770195852 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00029

JSON explain

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