SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a8a52b46df20ce4f067cce68ff590fa917f69552f3e07ab183b5d67698301d38' 
  AND token = 'Z9uWvKwEJxbLVSZbwDGIPc2qnx5u21EWo7oFZUc8YxA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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