SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '024356aa1f0a86d34b30cb3023fb72ede8c5da07ad1e8f54238201b1f42dd7f9' 
  AND token = 'hTe5bNSW86MytQtcKPODh97hieerN4917fp+6UvzB1g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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