SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5eb7857a3e704328cfe08fe877577ea7738e74c095736a6ce78b216f38411a2b' 
  AND token = 'S1gUR92UUFWyU54We0b4xxCR/+6T5HOpBA+gpC6r6wU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00079

JSON explain

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