SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2e05cd5c0c2b40101d44221aa0d35f0d11df4d4911c8cbd2f4d4d805c86d0375' 
  AND token = 'finDvvCfE1KeRl4+QQkTQ2XZiD3Bem/dtqklSJcYeng=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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