SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ed516972c029cd364ab32c27b2aafc46949a7a746b32f49cea3c3e23d4ef43a0' 
  AND token = 'RDrKlkvLyf/kLiONJfNmWs7+pvpwGg2SG8j884cpxzw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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