SELECT 
  1 
FROM 
  cscart_ec_print_temp_designs 
WHERE 
  session_id = '4LK3-R63T-P5RR-2QRU-F8D3-D3KN-75XS-46CG' 
  AND product_id = 10 
  AND expires_at > 1770174695 
  AND confirmed = 'Y' 
LIMIT 
  1

Query time 0.00053

JSON explain

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