SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '23a11b18a9d7c65afb9bc3c82972e7a07e01e2f42f6f0a7b02357b15e785e2e9' 
  AND token = 'z9Nr0XuB8kYH9nspfeRwzMnhUjYjjBXB7w0QOva6fs8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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