SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '47aa99fb94811de6f0efc65f9eb48a8272f5262b3696a16102f8a9d3d3913780' 
  AND token = 'kNQJKfr/JYVuVywES3ftZ3oX2dtn4myOFVYfdh5eVbs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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