SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2041385c6009a14a23059d71a59e7bb82798fa45d304ade243b6dda9ca99fe9c' 
  AND token = '8P8jRWSQk3z/OgzVdVymJG0bW1piaV8SKj3ZE2JuNWw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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